Struct openpgp_card::card_do::KeyGenerationTime
source · pub struct KeyGenerationTime(/* private fields */);Expand description
An OpenPGP key generation Time [Spec page 24]
Implementations§
Trait Implementations§
source§impl Clone for KeyGenerationTime
impl Clone for KeyGenerationTime
source§fn clone(&self) -> KeyGenerationTime
fn clone(&self) -> KeyGenerationTime
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 KeyGenerationTime
impl Debug for KeyGenerationTime
source§impl Display for KeyGenerationTime
impl Display for KeyGenerationTime
source§impl From<&KeyGenerationTime> for u32
impl From<&KeyGenerationTime> for u32
source§fn from(kg: &KeyGenerationTime) -> Self
fn from(kg: &KeyGenerationTime) -> Self
Converts to this type from the input type.
source§impl From<KeyGenerationTime> for DateTime<Utc>
impl From<KeyGenerationTime> for DateTime<Utc>
source§fn from(kg: KeyGenerationTime) -> Self
fn from(kg: KeyGenerationTime) -> Self
Converts to this type from the input type.
source§impl From<u32> for KeyGenerationTime
impl From<u32> for KeyGenerationTime
source§impl PartialEq for KeyGenerationTime
impl PartialEq for KeyGenerationTime
source§fn eq(&self, other: &KeyGenerationTime) -> bool
fn eq(&self, other: &KeyGenerationTime) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for KeyGenerationTime
impl Eq for KeyGenerationTime
impl StructuralPartialEq for KeyGenerationTime
Auto Trait Implementations§
impl RefUnwindSafe for KeyGenerationTime
impl Send for KeyGenerationTime
impl Sync for KeyGenerationTime
impl Unpin for KeyGenerationTime
impl UnwindSafe for KeyGenerationTime
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