#[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 TakeFrom<WireNodeAttributes> for NodeAttributes
impl TakeFrom<WireNodeAttributes> for NodeAttributes
Source§fn take_from(from: &WireNodeAttributes) -> Self
fn take_from(from: &WireNodeAttributes) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireNodeAttributes> for NodeAttributes
impl TakeFrom<WireNodeAttributes> for NodeAttributes
Source§fn take_from(from: &WireNodeAttributes) -> Self
fn take_from(from: &WireNodeAttributes) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireNodeAttributes
impl ZeroPadding for WireNodeAttributes
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