pub struct InterestSignatureInfo { /* private fields */ }
Implementations§
Source§impl InterestSignatureInfo
impl InterestSignatureInfo
pub fn new( signature_type: SignatureType, key_locator: Option<KeyLocator>, nonce: Option<SignatureNonce>, time: Option<SignatureTime>, seq_num: Option<SignatureSeqNum>, ) -> InterestSignatureInfo
Source§impl InterestSignatureInfo
impl InterestSignatureInfo
pub fn signature_type(&self) -> VarNum
pub fn key_locator(&self) -> Option<&KeyLocatorData>
pub fn nonce(&self) -> Option<&Bytes>
pub fn time(&self) -> Option<NonNegativeInteger>
pub fn seq_num(&self) -> Option<NonNegativeInteger>
Trait Implementations§
Source§impl Clone for InterestSignatureInfo
impl Clone for InterestSignatureInfo
Source§fn clone(&self) -> InterestSignatureInfo
fn clone(&self) -> InterestSignatureInfo
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 InterestSignatureInfo
impl Debug for InterestSignatureInfo
Source§impl Hash for InterestSignatureInfo
impl Hash for InterestSignatureInfo
Source§impl PartialEq for InterestSignatureInfo
impl PartialEq for InterestSignatureInfo
Source§impl Tlv for InterestSignatureInfo
impl Tlv for InterestSignatureInfo
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 InterestSignatureInfo
impl TlvDecode for InterestSignatureInfo
Source§impl TlvEncode for InterestSignatureInfo
impl TlvEncode for InterestSignatureInfo
impl Eq for InterestSignatureInfo
impl StructuralPartialEq for InterestSignatureInfo
Auto Trait Implementations§
impl !Freeze for InterestSignatureInfo
impl RefUnwindSafe for InterestSignatureInfo
impl Send for InterestSignatureInfo
impl Sync for InterestSignatureInfo
impl Unpin for InterestSignatureInfo
impl UnwindSafe for InterestSignatureInfo
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