pub struct FinalBlockId {
pub final_block_id: NameComponent,
}
Fields§
§final_block_id: NameComponent
Trait Implementations§
Source§impl AsMut<NameComponent> for FinalBlockId
impl AsMut<NameComponent> for FinalBlockId
Source§fn as_mut(&mut self) -> &mut NameComponent
fn as_mut(&mut self) -> &mut NameComponent
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<NameComponent> for FinalBlockId
impl AsRef<NameComponent> for FinalBlockId
Source§fn as_ref(&self) -> &NameComponent
fn as_ref(&self) -> &NameComponent
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for FinalBlockId
impl Clone for FinalBlockId
Source§fn clone(&self) -> FinalBlockId
fn clone(&self) -> FinalBlockId
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 FinalBlockId
impl Debug for FinalBlockId
Source§impl From<FinalBlockId> for NameComponent
impl From<FinalBlockId> for NameComponent
Source§fn from(original: FinalBlockId) -> Self
fn from(original: FinalBlockId) -> Self
Converts to this type from the input type.
Source§impl From<NameComponent> for FinalBlockId
impl From<NameComponent> for FinalBlockId
Source§fn from(original: NameComponent) -> FinalBlockId
fn from(original: NameComponent) -> FinalBlockId
Converts to this type from the input type.
Source§impl Hash for FinalBlockId
impl Hash for FinalBlockId
Source§impl PartialEq for FinalBlockId
impl PartialEq for FinalBlockId
Source§impl Tlv for FinalBlockId
impl Tlv for FinalBlockId
Source§fn inner_size(&self) -> usize
fn inner_size(&self) -> usize
The size of the payload contained within this TLV Read more
Source§fn critical() -> bool
fn critical() -> bool
Whether the TLV is critical, see
tlv_critical
Source§impl TlvDecode for FinalBlockId
impl TlvDecode for FinalBlockId
Source§impl TlvEncode for FinalBlockId
impl TlvEncode for FinalBlockId
impl Eq for FinalBlockId
impl StructuralPartialEq for FinalBlockId
Auto Trait Implementations§
impl !Freeze for FinalBlockId
impl RefUnwindSafe for FinalBlockId
impl Send for FinalBlockId
impl Sync for FinalBlockId
impl Unpin for FinalBlockId
impl UnwindSafe for FinalBlockId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more