pub struct SignatureSeqNum { /* private fields */ }
Implementations§
Source§impl SignatureSeqNum
impl SignatureSeqNum
pub fn new(data: NonNegativeInteger) -> SignatureSeqNum
Trait Implementations§
Source§impl AsMut<NonNegativeInteger> for SignatureSeqNum
impl AsMut<NonNegativeInteger> for SignatureSeqNum
Source§fn as_mut(&mut self) -> &mut NonNegativeInteger
fn as_mut(&mut self) -> &mut NonNegativeInteger
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<NonNegativeInteger> for SignatureSeqNum
impl AsRef<NonNegativeInteger> for SignatureSeqNum
Source§fn as_ref(&self) -> &NonNegativeInteger
fn as_ref(&self) -> &NonNegativeInteger
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SignatureSeqNum
impl Clone for SignatureSeqNum
Source§fn clone(&self) -> SignatureSeqNum
fn clone(&self) -> SignatureSeqNum
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 SignatureSeqNum
impl Debug for SignatureSeqNum
Source§impl Display for SignatureSeqNum
impl Display for SignatureSeqNum
Source§impl From<NonNegativeInteger> for SignatureSeqNum
impl From<NonNegativeInteger> for SignatureSeqNum
Source§fn from(original: NonNegativeInteger) -> SignatureSeqNum
fn from(original: NonNegativeInteger) -> SignatureSeqNum
Converts to this type from the input type.
Source§impl From<SignatureSeqNum> for NonNegativeInteger
impl From<SignatureSeqNum> for NonNegativeInteger
Source§fn from(original: SignatureSeqNum) -> Self
fn from(original: SignatureSeqNum) -> Self
Converts to this type from the input type.
Source§impl Hash for SignatureSeqNum
impl Hash for SignatureSeqNum
Source§impl Ord for SignatureSeqNum
impl Ord for SignatureSeqNum
Source§fn cmp(&self, other: &SignatureSeqNum) -> Ordering
fn cmp(&self, other: &SignatureSeqNum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SignatureSeqNum
impl PartialEq for SignatureSeqNum
Source§impl PartialOrd for SignatureSeqNum
impl PartialOrd for SignatureSeqNum
Source§impl Tlv for SignatureSeqNum
impl Tlv for SignatureSeqNum
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 SignatureSeqNum
impl TlvDecode for SignatureSeqNum
Source§impl TlvEncode for SignatureSeqNum
impl TlvEncode for SignatureSeqNum
impl Eq for SignatureSeqNum
impl StructuralPartialEq for SignatureSeqNum
Auto Trait Implementations§
impl Freeze for SignatureSeqNum
impl RefUnwindSafe for SignatureSeqNum
impl Send for SignatureSeqNum
impl Sync for SignatureSeqNum
impl Unpin for SignatureSeqNum
impl UnwindSafe for SignatureSeqNum
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