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
impl FeelYearsAndMonthsDuration
[src]
impl FeelYearsAndMonthsDuration
[src]Trait Implementations
impl Clone for FeelYearsAndMonthsDuration
[src]
impl Clone for FeelYearsAndMonthsDuration
[src]fn clone(&self) -> FeelYearsAndMonthsDuration
[src]
fn clone(&self) -> FeelYearsAndMonthsDuration
[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 FeelYearsAndMonthsDuration
[src]
impl Debug for FeelYearsAndMonthsDuration
[src]impl From<FeelYearsAndMonthsDuration> for String
[src]
impl From<FeelYearsAndMonthsDuration> for String
[src]fn from(value: FeelYearsAndMonthsDuration) -> Self
[src]
fn from(value: FeelYearsAndMonthsDuration) -> Self
[src]Converts the years and months duration into textual form.
impl PartialEq<FeelYearsAndMonthsDuration> for FeelYearsAndMonthsDuration
[src]
impl PartialEq<FeelYearsAndMonthsDuration> for FeelYearsAndMonthsDuration
[src]fn eq(&self, other: &FeelYearsAndMonthsDuration) -> bool
[src]
fn eq(&self, other: &FeelYearsAndMonthsDuration) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FeelYearsAndMonthsDuration) -> bool
[src]
fn ne(&self, other: &FeelYearsAndMonthsDuration) -> bool
[src]This method tests for !=
.
impl PartialOrd<FeelYearsAndMonthsDuration> for FeelYearsAndMonthsDuration
[src]
impl PartialOrd<FeelYearsAndMonthsDuration> for FeelYearsAndMonthsDuration
[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 TryFrom<&'_ str> for FeelYearsAndMonthsDuration
[src]
impl TryFrom<&'_ str> for FeelYearsAndMonthsDuration
[src]fn try_from(value: &str) -> Result<Self, Self::Error>
[src]
fn try_from(value: &str) -> Result<Self, Self::Error>
[src]Converts a text into FeelYearsAndMonthsDuration.
type Error = DmntkError
type Error = DmntkError
The type returned in the event of a conversion error.
impl StructuralPartialEq for FeelYearsAndMonthsDuration
[src]
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
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