#[repr(C)]pub struct WireNodeAttributes {
pub mode: WireU32,
pub id: WireU64,
pub content_size: WireU64,
pub storage_size: WireU64,
pub link_count: WireU64,
pub creation_time: WireU64,
pub modification_time: WireU64,
}
Expand description
The wire type corresponding to NodeAttributes
.
Fields§
§mode: WireU32
§id: WireU64
§content_size: WireU64
§storage_size: WireU64
§link_count: WireU64
§creation_time: WireU64
§modification_time: WireU64
Trait Implementations§
Source§impl Clone for WireNodeAttributes
impl Clone for WireNodeAttributes
Source§fn clone(&self) -> WireNodeAttributes
fn clone(&self) -> WireNodeAttributes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WireNodeAttributes
impl Debug for WireNodeAttributes
Source§impl<___D> Decode<___D> for WireNodeAttributeswhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireNodeAttributeswhere
___D: InternalHandleDecoder + ?Sized,
Source§impl FromWire<WireNodeAttributes> for NodeAttributes
impl FromWire<WireNodeAttributes> for NodeAttributes
Source§fn from_wire(wire: WireNodeAttributes) -> Self
fn from_wire(wire: WireNodeAttributes) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireNodeAttributes> for NodeAttributes
impl FromWireRef<WireNodeAttributes> for NodeAttributes
Source§fn from_wire_ref(wire: &WireNodeAttributes) -> Self
fn from_wire_ref(wire: &WireNodeAttributes) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireNodeAttributes
impl Wire for WireNodeAttributes
Source§type Decoded<'de> = WireNodeAttributes
type Decoded<'de> = WireNodeAttributes
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireNodeAttributes
impl RefUnwindSafe for WireNodeAttributes
impl Send for WireNodeAttributes
impl Sync for WireNodeAttributes
impl Unpin for WireNodeAttributes
impl UnwindSafe for WireNodeAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more