#[repr(C)]pub struct WireImmutableNodeAttributes<'de> { /* private fields */ }
Expand description
The wire type corresponding to ImmutableNodeAttributes
.
Implementations§
Source§impl<'de> WireImmutableNodeAttributes<'de>
impl<'de> WireImmutableNodeAttributes<'de>
pub fn protocols(&self) -> Option<&WireNodeProtocolKinds>
pub fn abilities(&self) -> Option<&WireOperations>
pub fn content_size(&self) -> Option<&WireU64>
pub fn storage_size(&self) -> Option<&WireU64>
pub fn link_count(&self) -> Option<&WireU64>
pub fn id(&self) -> Option<&WireU64>
pub fn change_time(&self) -> Option<&WireU64>
pub fn options(&self) -> Option<&WireVerificationOptions<'de>>
pub fn root_hash(&self) -> Option<&WireVector<'de, u8>>
pub fn verity_enabled(&self) -> Option<&bool>
Trait Implementations§
Source§impl<'de> Debug for WireImmutableNodeAttributes<'de>
impl<'de> Debug for WireImmutableNodeAttributes<'de>
Source§impl<___D> Decode<___D> for WireImmutableNodeAttributes<'static>where
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireImmutableNodeAttributes<'static>where
___D: Decoder + ?Sized,
Source§impl<'de> FromWire<WireImmutableNodeAttributes<'de>> for ImmutableNodeAttributes
impl<'de> FromWire<WireImmutableNodeAttributes<'de>> for ImmutableNodeAttributes
Source§fn from_wire(wire: WireImmutableNodeAttributes<'de>) -> Self
fn from_wire(wire: WireImmutableNodeAttributes<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<WireImmutableNodeAttributes<'de>> for ImmutableNodeAttributes
impl<'de> FromWireRef<WireImmutableNodeAttributes<'de>> for ImmutableNodeAttributes
Source§fn from_wire_ref(wire: &WireImmutableNodeAttributes<'de>) -> Self
fn from_wire_ref(wire: &WireImmutableNodeAttributes<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireImmutableNodeAttributes<'static>
impl Wire for WireImmutableNodeAttributes<'static>
Source§type Decoded<'de> = WireImmutableNodeAttributes<'de>
type Decoded<'de> = WireImmutableNodeAttributes<'de>
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<'de> Freeze for WireImmutableNodeAttributes<'de>
impl<'de> RefUnwindSafe for WireImmutableNodeAttributes<'de>
impl<'de> !Send for WireImmutableNodeAttributes<'de>
impl<'de> !Sync for WireImmutableNodeAttributes<'de>
impl<'de> Unpin for WireImmutableNodeAttributes<'de>
impl<'de> !UnwindSafe for WireImmutableNodeAttributes<'de>
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