pub struct EraStartDate {
    pub year: i32,
    pub month: u8,
    pub day: u8,
}Expand description
The date at which an era started
The order of fields in this struct is important!
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fieldsยง
ยงyear: i32The year the era started in
month: u8The month the era started in
day: u8The day the era started in
Trait Implementationsยง
Sourceยงimpl AsULE for EraStartDate
 
impl AsULE for EraStartDate
Sourceยงtype ULE = EraStartDateULE
 
type ULE = EraStartDateULE
The ULE type corresponding to 
Self. Read moreSourceยงfn to_unaligned(self) -> <EraStartDate as AsULE>::ULE
 
fn to_unaligned(self) -> <EraStartDate as AsULE>::ULE
Sourceยงfn from_unaligned(unaligned: <EraStartDate as AsULE>::ULE) -> EraStartDate
 
fn from_unaligned(unaligned: <EraStartDate as AsULE>::ULE) -> EraStartDate
Sourceยงimpl Clone for EraStartDate
 
impl Clone for EraStartDate
Sourceยงfn clone(&self) -> EraStartDate
 
fn clone(&self) -> EraStartDate
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 EraStartDate
 
impl Debug for EraStartDate
Sourceยงimpl<'de> Deserialize<'de> for EraStartDate
 
impl<'de> Deserialize<'de> for EraStartDate
Sourceยงfn deserialize<__D>(
    __deserializer: __D,
) -> Result<EraStartDate, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<EraStartDate, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Hash for EraStartDate
 
impl Hash for EraStartDate
Sourceยงimpl Ord for EraStartDate
 
impl Ord for EraStartDate
Sourceยงfn cmp(&self, other: &EraStartDate) -> Ordering
 
fn cmp(&self, other: &EraStartDate) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for EraStartDate
 
impl PartialEq for EraStartDate
Sourceยงimpl PartialOrd for EraStartDate
 
impl PartialOrd for EraStartDate
Sourceยงimpl<'a> Yokeable<'a> for EraStartDatewhere
    EraStartDate: Sized,
 
impl<'a> Yokeable<'a> for EraStartDatewhere
    EraStartDate: Sized,
Sourceยงtype Output = EraStartDate
 
type Output = EraStartDate
This type MUST be 
Self with the 'static replaced with 'a, i.e. Self<'a>Sourceยงfn transform_owned(self) -> <EraStartDate as Yokeable<'a>>::Output
 
fn transform_owned(self) -> <EraStartDate as Yokeable<'a>>::Output
Sourceยงunsafe fn make(this: <EraStartDate as Yokeable<'a>>::Output) -> EraStartDate
 
unsafe fn make(this: <EraStartDate as Yokeable<'a>>::Output) -> EraStartDate
This method can be used to cast away 
Self<'a>โs lifetime. Read moreSourceยงfn transform_mut<F>(&'a mut self, f: F)
 
fn transform_mut<F>(&'a mut self, f: F)
This method must cast 
self between &'a mut Self<'static> and &'a mut Self<'a>,
and pass it to f. Read moreSourceยงimpl<'zf> ZeroFrom<'zf, EraStartDate> for EraStartDate
 
impl<'zf> ZeroFrom<'zf, EraStartDate> for EraStartDate
Sourceยงfn zero_from(this: &'zf EraStartDate) -> EraStartDate
 
fn zero_from(this: &'zf EraStartDate) -> EraStartDate
Clone the other 
C into a struct that may retain references into C.Sourceยงimpl<'a> ZeroMapKV<'a> for EraStartDate
 
impl<'a> ZeroMapKV<'a> for EraStartDate
Sourceยงtype Container = ZeroVec<'a, EraStartDate>
 
type Container = ZeroVec<'a, EraStartDate>
The container that can be used with this type: 
ZeroVec or VarZeroVec.type Slice = ZeroSlice<EraStartDate>
Sourceยงtype GetType = EraStartDateULE
 
type GetType = EraStartDateULE
The type produced by 
Container::get() Read moreSourceยงtype OwnedType = EraStartDate
 
type OwnedType = EraStartDate
The type produced by 
Container::replace() and Container::remove(),
also used during deserialization. If Self is human readable serialized,
deserializing to Self::OwnedType should produce the same value once
passed through Self::owned_as_self() Read moreimpl Copy for EraStartDate
impl Eq for EraStartDate
impl StructuralPartialEq for EraStartDate
Auto Trait Implementationsยง
impl Freeze for EraStartDate
impl RefUnwindSafe for EraStartDate
impl Send for EraStartDate
impl Sync for EraStartDate
impl Unpin for EraStartDate
impl UnwindSafe for EraStartDate
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ยงimpl<T> IntoEither for T
 
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more