Struct dmntk_feel::FeelYearsAndMonthsDuration [−][src]
pub struct FeelYearsAndMonthsDuration(_);
Expand description
Years and months duration in FEEL
.
Holds the number of months in the duration.
Implementations
Created a new years and months duration from given number of years
and months
.
Created a new years and months duration from given number of months
.
Trait Implementations
Converts the years and months duration into textual form.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Converts a text into FeelYearsAndMonthsDuration.
type Error = DmntkError
type Error = DmntkError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for FeelYearsAndMonthsDuration
impl Send for FeelYearsAndMonthsDuration
impl Sync for FeelYearsAndMonthsDuration
impl Unpin for FeelYearsAndMonthsDuration
impl UnwindSafe for FeelYearsAndMonthsDuration
Blanket Implementations
Mutably borrows from an owned value. Read more