[−][src]Struct picky::x509::date::UTCDate
Implementations
impl UTCDate
[src]
pub fn new(
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8
) -> Option<Self>
[src]
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8
) -> Option<Self>
pub fn ymd(year: u16, month: u8, day: u8) -> Option<Self>
[src]
pub fn year(&self) -> u16
[src]
pub fn month(&self) -> u8
[src]
pub fn day(&self) -> u8
[src]
pub fn hour(&self) -> u8
[src]
pub fn minute(&self) -> u8
[src]
pub fn second(&self) -> u8
[src]
Trait Implementations
impl Clone for UTCDate
[src]
impl Debug for UTCDate
[src]
impl Display for UTCDate
[src]
impl Eq for UTCDate
[src]
impl From<Date<GeneralizedTimeRepr>> for UTCDate
[src]
fn from(date: GeneralizedTime) -> Self
[src]
impl From<Date<UTCTimeRepr>> for UTCDate
[src]
fn from(date: Date<UTCTimeRepr>) -> Self
[src]
impl From<Time> for UTCDate
[src]
impl From<UTCDate> for Time
[src]
impl Hash for UTCDate
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<Date<GeneralizedTimeRepr>> for UTCDate
[src]
fn into(self) -> GeneralizedTime
[src]
impl Into<Date<UTCTimeRepr>> for UTCDate
[src]
impl Ord for UTCDate
[src]
fn cmp(&self, other: &UTCDate) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<UTCDate> for UTCDate
[src]
impl PartialOrd<UTCDate> for UTCDate
[src]
fn partial_cmp(&self, other: &UTCDate) -> Option<Ordering>
[src]
fn lt(&self, other: &UTCDate) -> bool
[src]
fn le(&self, other: &UTCDate) -> bool
[src]
fn gt(&self, other: &UTCDate) -> bool
[src]
fn ge(&self, other: &UTCDate) -> bool
[src]
impl StructuralEq for UTCDate
[src]
impl StructuralPartialEq for UTCDate
[src]
Auto Trait Implementations
impl RefUnwindSafe for UTCDate
impl Send for UTCDate
impl Sync for UTCDate
impl Unpin for UTCDate
impl UnwindSafe for UTCDate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,