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
impl FeelDaysAndTimeDuration
[src]
impl FeelDaysAndTimeDuration
[src]Trait Implementations
impl Add<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]
impl Add<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]fn add(self, rhs: FeelDaysAndTimeDuration) -> FeelDaysAndTimeDuration
[src]
fn add(self, rhs: FeelDaysAndTimeDuration) -> FeelDaysAndTimeDuration
[src]Returns the sum of durations.
type Output = FeelDaysAndTimeDuration
type Output = FeelDaysAndTimeDuration
The resulting type after applying the +
operator.
impl Clone for FeelDaysAndTimeDuration
[src]
impl Clone for FeelDaysAndTimeDuration
[src]fn clone(&self) -> FeelDaysAndTimeDuration
[src]
fn clone(&self) -> FeelDaysAndTimeDuration
[src]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 FeelDaysAndTimeDuration
[src]
impl Debug for FeelDaysAndTimeDuration
[src]impl From<FeelDaysAndTimeDuration> for String
[src]
impl From<FeelDaysAndTimeDuration> for String
[src]fn from(value: FeelDaysAndTimeDuration) -> Self
[src]
fn from(value: FeelDaysAndTimeDuration) -> Self
[src]Converts the days and time duration into textual form.
impl PartialEq<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]
impl PartialEq<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]fn eq(&self, other: &FeelDaysAndTimeDuration) -> bool
[src]
fn eq(&self, other: &FeelDaysAndTimeDuration) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FeelDaysAndTimeDuration) -> bool
[src]
fn ne(&self, other: &FeelDaysAndTimeDuration) -> bool
[src]This method tests for !=
.
impl PartialOrd<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]
impl PartialOrd<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Self) -> bool
[src]
fn lt(&self, other: &Self) -> bool
[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Self) -> bool
[src]
fn le(&self, other: &Self) -> bool
[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Sub<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]
impl Sub<FeelDaysAndTimeDuration> for FeelDaysAndTimeDuration
[src]fn sub(self, rhs: FeelDaysAndTimeDuration) -> FeelDaysAndTimeDuration
[src]
fn sub(self, rhs: FeelDaysAndTimeDuration) -> FeelDaysAndTimeDuration
[src]Returns the subtraction of durations.
type Output = FeelDaysAndTimeDuration
type Output = FeelDaysAndTimeDuration
The resulting type after applying the -
operator.
impl TryFrom<&'_ str> for FeelDaysAndTimeDuration
[src]
impl TryFrom<&'_ str> for FeelDaysAndTimeDuration
[src]fn try_from(value: &str) -> Result<Self, Self::Error>
[src]
fn try_from(value: &str) -> Result<Self, Self::Error>
[src]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.
impl StructuralPartialEq for FeelDaysAndTimeDuration
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more