Struct picky_asn1::wrapper::GeneralizedTimeAsn1
source · pub struct GeneralizedTimeAsn1(pub GeneralizedTime);
Expand description
Wrapper type
Tuple Fields§
§0: GeneralizedTime
Methods from Deref<Target = GeneralizedTime>§
pub fn year(&self) -> u16
pub fn month(&self) -> u8
pub fn day(&self) -> u8
pub fn hour(&self) -> u8
pub fn minute(&self) -> u8
pub fn second(&self) -> u8
Trait Implementations§
source§impl Asn1Type for GeneralizedTimeAsn1
impl Asn1Type for GeneralizedTimeAsn1
source§impl Clone for GeneralizedTimeAsn1
impl Clone for GeneralizedTimeAsn1
source§fn clone(&self) -> GeneralizedTimeAsn1
fn clone(&self) -> GeneralizedTimeAsn1
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 GeneralizedTimeAsn1
impl Debug for GeneralizedTimeAsn1
source§impl Deref for GeneralizedTimeAsn1
impl Deref for GeneralizedTimeAsn1
source§impl DerefMut for GeneralizedTimeAsn1
impl DerefMut for GeneralizedTimeAsn1
source§impl<'de> Deserialize<'de> for GeneralizedTimeAsn1
impl<'de> Deserialize<'de> for GeneralizedTimeAsn1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Date<GeneralizedTimeRepr>> for GeneralizedTimeAsn1
impl From<Date<GeneralizedTimeRepr>> for GeneralizedTimeAsn1
source§fn from(wrapped: GeneralizedTime) -> Self
fn from(wrapped: GeneralizedTime) -> Self
Converts to this type from the input type.
source§impl From<GeneralizedTimeAsn1> for GeneralizedTime
impl From<GeneralizedTimeAsn1> for GeneralizedTime
source§fn from(wrapper: GeneralizedTimeAsn1) -> GeneralizedTime
fn from(wrapper: GeneralizedTimeAsn1) -> GeneralizedTime
Converts to this type from the input type.
source§impl PartialEq<Date<GeneralizedTimeRepr>> for GeneralizedTimeAsn1
impl PartialEq<Date<GeneralizedTimeRepr>> for GeneralizedTimeAsn1
source§fn eq(&self, other: &GeneralizedTime) -> bool
fn eq(&self, other: &GeneralizedTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for GeneralizedTimeAsn1
impl PartialEq for GeneralizedTimeAsn1
source§fn eq(&self, other: &GeneralizedTimeAsn1) -> bool
fn eq(&self, other: &GeneralizedTimeAsn1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GeneralizedTimeAsn1
impl Serialize for GeneralizedTimeAsn1
impl Eq for GeneralizedTimeAsn1
impl StructuralPartialEq for GeneralizedTimeAsn1
Auto Trait Implementations§
impl Freeze for GeneralizedTimeAsn1
impl RefUnwindSafe for GeneralizedTimeAsn1
impl Send for GeneralizedTimeAsn1
impl Sync for GeneralizedTimeAsn1
impl Unpin for GeneralizedTimeAsn1
impl UnwindSafe for GeneralizedTimeAsn1
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)