pub struct ParametersSha256DigestComponent { /* private fields */ }Expand description
A name component holding the SHA-256 digest of a signed Interest’s
application parameters and signature, appended automatically when
signing (see Interest::sign). Written as
params-sha256=<hex> in a name’s URI form.
Trait Implementations§
Source§impl Clone for ParametersSha256DigestComponent
impl Clone for ParametersSha256DigestComponent
Source§fn clone(&self) -> ParametersSha256DigestComponent
fn clone(&self) -> ParametersSha256DigestComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ParametersSha256DigestComponent
Source§impl From<ParametersSha256DigestComponent> for [u8; 32]
impl From<ParametersSha256DigestComponent> for [u8; 32]
Source§fn from(original: ParametersSha256DigestComponent) -> Self
fn from(original: ParametersSha256DigestComponent) -> Self
Converts to this type from the input type.
Source§impl From<ParametersSha256DigestComponent> for NameComponent
impl From<ParametersSha256DigestComponent> for NameComponent
Source§fn from(original: ParametersSha256DigestComponent) -> NameComponent
fn from(original: ParametersSha256DigestComponent) -> NameComponent
Converts to this type from the input type.
impl StructuralPartialEq for ParametersSha256DigestComponent
Source§impl Tlv for ParametersSha256DigestComponent
impl Tlv for ParametersSha256DigestComponent
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_criticalAuto Trait Implementations§
impl Freeze for ParametersSha256DigestComponent
impl RefUnwindSafe for ParametersSha256DigestComponent
impl Send for ParametersSha256DigestComponent
impl Sync for ParametersSha256DigestComponent
impl Unpin for ParametersSha256DigestComponent
impl UnsafeUnpin for ParametersSha256DigestComponent
impl UnwindSafe for ParametersSha256DigestComponent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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