pub enum TimeReference {
Start,
End,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for TimeReference
impl Clone for TimeReference
Source§fn clone(&self) -> TimeReference
fn clone(&self) -> TimeReference
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 TimeReference
impl Debug for TimeReference
Source§impl Default for TimeReference
impl Default for TimeReference
Source§fn default() -> TimeReference
fn default() -> TimeReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeReference
impl<'de> Deserialize<'de> for TimeReference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TimeReference
impl Display for TimeReference
Source§impl Hash for TimeReference
impl Hash for TimeReference
Source§impl Ord for TimeReference
impl Ord for TimeReference
Source§fn cmp(&self, other: &TimeReference) -> Ordering
fn cmp(&self, other: &TimeReference) -> 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 TimeReference
impl PartialEq for TimeReference
Source§fn eq(&self, other: &TimeReference) -> bool
fn eq(&self, other: &TimeReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TimeReference
impl PartialOrd for TimeReference
Source§impl Serialize for TimeReference
impl Serialize for TimeReference
impl Copy for TimeReference
impl Eq for TimeReference
impl StructuralPartialEq for TimeReference
Auto Trait Implementations§
impl Freeze for TimeReference
impl RefUnwindSafe for TimeReference
impl Send for TimeReference
impl Sync for TimeReference
impl Unpin for TimeReference
impl UnsafeUnpin for TimeReference
impl UnwindSafe for TimeReference
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