Struct dmntk_feel::FeelDaysAndTimeDuration [−][src]
pub struct FeelDaysAndTimeDuration(_, _);
Expand description
Days and time duration in FEEL
.
Holds the number of seconds and number of nanoseconds of the duration.
Implementations
Creates a new days and time duration from seconds and nanoseconds.
Trait Implementations
Returns the sum of durations.
type Output = FeelDaysAndTimeDuration
type Output = FeelDaysAndTimeDuration
The resulting type after applying the +
operator.
Converts the days and time 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
Returns the subtraction of durations.
type Output = FeelDaysAndTimeDuration
type Output = FeelDaysAndTimeDuration
The resulting type after applying the -
operator.
Converts a text form of the days and time duration into FeelDaysAndTimeDuration struct.
type Error = DmntkError
type Error = DmntkError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for FeelDaysAndTimeDuration
impl Send for FeelDaysAndTimeDuration
impl Sync for FeelDaysAndTimeDuration
impl Unpin for FeelDaysAndTimeDuration
impl UnwindSafe for FeelDaysAndTimeDuration
Blanket Implementations
Mutably borrows from an owned value. Read more