pub struct IntervalName(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for IntervalName
impl Clone for IntervalName
Source§fn clone(&self) -> IntervalName
fn clone(&self) -> IntervalName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntervalName
impl Debug for IntervalName
Source§impl Display for IntervalName
impl Display for IntervalName
Source§impl FromStr for IntervalName
impl FromStr for IntervalName
Source§type Err = IntervalError
type Err = IntervalError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<IntervalName, <IntervalName as FromStr>::Err>
fn from_str(value: &str) -> Result<IntervalName, <IntervalName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for IntervalName
impl Hash for IntervalName
Source§impl Ord for IntervalName
impl Ord for IntervalName
Source§fn cmp(&self, other: &IntervalName) -> Ordering
fn cmp(&self, other: &IntervalName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntervalName
impl PartialEq for IntervalName
Source§fn eq(&self, other: &IntervalName) -> bool
fn eq(&self, other: &IntervalName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IntervalName
impl PartialOrd for IntervalName
Source§impl TryFrom<&str> for IntervalName
impl TryFrom<&str> for IntervalName
Source§type Error = IntervalError
type Error = IntervalError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &str,
) -> Result<IntervalName, <IntervalName as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<IntervalName, <IntervalName as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for IntervalName
impl StructuralPartialEq for IntervalName
Auto Trait Implementations§
impl Freeze for IntervalName
impl RefUnwindSafe for IntervalName
impl Send for IntervalName
impl Sync for IntervalName
impl Unpin for IntervalName
impl UnsafeUnpin for IntervalName
impl UnwindSafe for IntervalName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more