Struct iso_8601::CDate [−][src]
pub struct CDate { pub century: i8, }
A specific century (4.1.2.3c)
Fields
century: i8
Trait Implementations
impl Eq for CDate
[src]
impl Eq for CDate
impl PartialEq for CDate
[src]
impl PartialEq for CDate
fn eq(&self, other: &CDate) -> bool
[src]
fn eq(&self, other: &CDate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CDate) -> bool
[src]
fn ne(&self, other: &CDate) -> bool
This method tests for !=
.
impl Clone for CDate
[src]
impl Clone for CDate
fn clone(&self) -> CDate
[src]
fn clone(&self) -> CDate
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 Debug for CDate
[src]
impl Debug for CDate
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 CDate
[src]
impl<Y: Year> Datelike<Y> for CDate
impl FromStr for CDate
[src]
impl FromStr for CDate
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 Valid for CDate
[src]
impl Valid for CDate