pub struct SignatureTime { /* private fields */ }
Implementations§
Source§impl SignatureTime
impl SignatureTime
pub fn new(data: NonNegativeInteger) -> SignatureTime
Trait Implementations§
Source§impl AsMut<NonNegativeInteger> for SignatureTime
impl AsMut<NonNegativeInteger> for SignatureTime
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 SignatureTime
impl AsRef<NonNegativeInteger> for SignatureTime
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 SignatureTime
impl Clone for SignatureTime
Source§fn clone(&self) -> SignatureTime
fn clone(&self) -> SignatureTime
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 SignatureTime
impl Debug for SignatureTime
Source§impl Display for SignatureTime
impl Display for SignatureTime
Source§impl From<NonNegativeInteger> for SignatureTime
impl From<NonNegativeInteger> for SignatureTime
Source§fn from(original: NonNegativeInteger) -> SignatureTime
fn from(original: NonNegativeInteger) -> SignatureTime
Converts to this type from the input type.
Source§impl From<SignatureTime> for NonNegativeInteger
impl From<SignatureTime> for NonNegativeInteger
Source§fn from(original: SignatureTime) -> Self
fn from(original: SignatureTime) -> Self
Converts to this type from the input type.
Source§impl Hash for SignatureTime
impl Hash for SignatureTime
Source§impl Ord for SignatureTime
impl Ord for SignatureTime
Source§fn cmp(&self, other: &SignatureTime) -> Ordering
fn cmp(&self, other: &SignatureTime) -> 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 SignatureTime
impl PartialEq for SignatureTime
Source§impl PartialOrd for SignatureTime
impl PartialOrd for SignatureTime
Source§impl Tlv for SignatureTime
impl Tlv for SignatureTime
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 SignatureTime
impl TlvDecode for SignatureTime
Source§impl TlvEncode for SignatureTime
impl TlvEncode for SignatureTime
impl Eq for SignatureTime
impl StructuralPartialEq for SignatureTime
Auto Trait Implementations§
impl Freeze for SignatureTime
impl RefUnwindSafe for SignatureTime
impl Send for SignatureTime
impl Sync for SignatureTime
impl Unpin for SignatureTime
impl UnwindSafe for SignatureTime
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