pub enum Decade {
Show 14 variants
Pre1900,
D1900s,
D1910s,
D1920s,
D1930s,
D1940s,
D1950s,
D1960s,
D1970s,
D1980s,
D1990s,
D2000s,
D2010s,
D2020s,
}Expand description
Decade when a name was most popular.
Variants§
Pre1900
Pre-1900 (Victorian era names)
D1900s
1900-1909
D1910s
1910-1919
D1920s
1920-1929
D1930s
1930-1939
D1940s
1940-1949
D1950s
1950-1959
D1960s
1960-1969
D1970s
1970-1979
D1980s
1980-1989
D1990s
1990-1999
D2000s
2000-2009
D2010s
2010-2019
D2020s
2020-present
Implementations§
Trait Implementations§
impl Copy for Decade
Source§impl<'de> Deserialize<'de> for Decade
impl<'de> Deserialize<'de> for Decade
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
impl Eq for Decade
Source§impl Ord for Decade
impl Ord for Decade
1.21.0 (const: unstable) · 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 PartialOrd for Decade
impl PartialOrd for Decade
impl StructuralPartialEq for Decade
Auto Trait Implementations§
impl Freeze for Decade
impl RefUnwindSafe for Decade
impl Send for Decade
impl Sync for Decade
impl Unpin for Decade
impl UnsafeUnpin for Decade
impl UnwindSafe for Decade
Blanket Implementations§
impl<T> Boilerplate for T
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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