Struct openpgp_card::card_do::KeyGenerationTime
source · [−]pub struct KeyGenerationTime(_);
Expand description
An OpenPGP key generation Time (see spec pg. 24)
Implementations
Trait Implementations
sourceimpl Clone for KeyGenerationTime
impl Clone for KeyGenerationTime
sourcefn clone(&self) -> KeyGenerationTime
fn clone(&self) -> KeyGenerationTime
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyGenerationTime
impl Debug for KeyGenerationTime
sourceimpl Display for KeyGenerationTime
impl Display for KeyGenerationTime
sourceimpl From<&'_ KeyGenerationTime> for u32
impl From<&'_ KeyGenerationTime> for u32
sourcefn from(kg: &KeyGenerationTime) -> Self
fn from(kg: &KeyGenerationTime) -> Self
Converts to this type from the input type.
sourceimpl From<KeyGenerationTime> for DateTime<Utc>
impl From<KeyGenerationTime> for DateTime<Utc>
sourcefn from(kg: KeyGenerationTime) -> Self
fn from(kg: KeyGenerationTime) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for KeyGenerationTime
impl From<u32> for KeyGenerationTime
sourceimpl PartialEq<KeyGenerationTime> for KeyGenerationTime
impl PartialEq<KeyGenerationTime> for KeyGenerationTime
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &KeyGenerationTime) -> bool
fn ne(&self, other: &KeyGenerationTime) -> bool
This method tests for !=
.
impl Copy for KeyGenerationTime
impl Eq for KeyGenerationTime
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more