Struct iso_8601::YmDate [−][src]
A specific month (4.1.2.3a)
Fields
year: Y
month: u8
Trait Implementations
impl<Y: Eq + Year> Eq for YmDate<Y>
[src]
impl<Y: Eq + Year> Eq for YmDate<Y>
impl<Y: PartialEq + Year> PartialEq for YmDate<Y>
[src]
impl<Y: PartialEq + Year> PartialEq for YmDate<Y>
fn eq(&self, other: &YmDate<Y>) -> bool
[src]
fn eq(&self, other: &YmDate<Y>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &YmDate<Y>) -> bool
[src]
fn ne(&self, other: &YmDate<Y>) -> bool
This method tests for !=
.
impl<Y: Clone + Year> Clone for YmDate<Y>
[src]
impl<Y: Clone + Year> Clone for YmDate<Y>
fn clone(&self) -> YmDate<Y>
[src]
fn clone(&self) -> YmDate<Y>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Y: Debug + Year> Debug for YmDate<Y>
[src]
impl<Y: Debug + Year> Debug for YmDate<Y>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Y: Year> Datelike<Y> for YmDate<Y>
[src]
impl<Y: Year> Datelike<Y> for YmDate<Y>
impl FromStr for YmDate
[src]
impl FromStr for YmDate
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl<Y> Valid for YmDate<Y> where
Y: Year,
[src]
impl<Y> Valid for YmDate<Y> where
Y: Year,
impl<Y> From<YmdDate<Y>> for YmDate<Y> where
Y: Year,
[src]
impl<Y> From<YmdDate<Y>> for YmDate<Y> where
Y: Year,
impl<Y> From<YmDate<Y>> for YDate<Y> where
Y: Year,
[src]
impl<Y> From<YmDate<Y>> for YDate<Y> where
Y: Year,
impl<Y> From<WdDate<Y>> for YmDate<Y> where
Y: Year,
YmdDate<Y>: From<WdDate<Y>>,
[src]
impl<Y> From<WdDate<Y>> for YmDate<Y> where
Y: Year,
YmdDate<Y>: From<WdDate<Y>>,
impl<Y> From<ODate<Y>> for YmDate<Y> where
Y: Year,
[src]
impl<Y> From<ODate<Y>> for YmDate<Y> where
Y: Year,