Struct picky_asn1::wrapper::UtcTimeAsn1
source · pub struct UtcTimeAsn1(pub UTCTime);
Expand description
Wrapper type
Tuple Fields§
§0: UTCTime
Methods from Deref<Target = UTCTime>§
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 UtcTimeAsn1
impl Asn1Type for UtcTimeAsn1
source§impl Clone for UtcTimeAsn1
impl Clone for UtcTimeAsn1
source§fn clone(&self) -> UtcTimeAsn1
fn clone(&self) -> UtcTimeAsn1
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 UtcTimeAsn1
impl Debug for UtcTimeAsn1
source§impl Deref for UtcTimeAsn1
impl Deref for UtcTimeAsn1
source§impl DerefMut for UtcTimeAsn1
impl DerefMut for UtcTimeAsn1
source§impl<'de> Deserialize<'de> for UtcTimeAsn1
impl<'de> Deserialize<'de> for UtcTimeAsn1
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<UTCTimeRepr>> for UtcTimeAsn1
impl From<Date<UTCTimeRepr>> for UtcTimeAsn1
source§impl From<UtcTimeAsn1> for UTCTime
impl From<UtcTimeAsn1> for UTCTime
source§fn from(wrapper: UtcTimeAsn1) -> UTCTime
fn from(wrapper: UtcTimeAsn1) -> UTCTime
Converts to this type from the input type.
source§impl PartialEq<Date<UTCTimeRepr>> for UtcTimeAsn1
impl PartialEq<Date<UTCTimeRepr>> for UtcTimeAsn1
source§impl PartialEq for UtcTimeAsn1
impl PartialEq for UtcTimeAsn1
source§fn eq(&self, other: &UtcTimeAsn1) -> bool
fn eq(&self, other: &UtcTimeAsn1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UtcTimeAsn1
impl Serialize for UtcTimeAsn1
impl Eq for UtcTimeAsn1
impl StructuralPartialEq for UtcTimeAsn1
Auto Trait Implementations§
impl Freeze for UtcTimeAsn1
impl RefUnwindSafe for UtcTimeAsn1
impl Send for UtcTimeAsn1
impl Sync for UtcTimeAsn1
impl Unpin for UtcTimeAsn1
impl UnwindSafe for UtcTimeAsn1
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
)