Struct baimax::ast::Date
[−]
[src]
pub struct Date { pub year: u8, pub month: u8, pub day: u8, }
Fields
year: u8
month: u8
day: u8
Trait Implementations
impl FromStr for Date
[src]
type Err = DateError
The associated error which can be returned from parsing.
fn from_str(i: &str) -> Result<Date, DateError>
Parses a string s
to return a value of this type. Read more
impl Debug for Date
[src]
impl Clone for Date
[src]
fn clone(&self) -> Date
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more