pub enum DatePrecision {
Year,
Month,
Day,
}Expand description
Date precision: year, month, day.
Variants§
Trait Implementations§
Source§impl Clone for DatePrecision
impl Clone for DatePrecision
Source§fn clone(&self) -> DatePrecision
fn clone(&self) -> DatePrecision
Returns a duplicate of the value. Read more
1.0.0 · 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 DatePrecision
impl Debug for DatePrecision
Source§impl<'de> Deserialize<'de> for DatePrecision
impl<'de> Deserialize<'de> for DatePrecision
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<'_derivative_strum> From<&'_derivative_strum DatePrecision> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum DatePrecision> for &'static str
Source§fn from(x: &'_derivative_strum DatePrecision) -> &'static str
fn from(x: &'_derivative_strum DatePrecision) -> &'static str
Converts to this type from the input type.
Source§impl From<DatePrecision> for &'static str
impl From<DatePrecision> for &'static str
Source§fn from(x: DatePrecision) -> &'static str
fn from(x: DatePrecision) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for DatePrecision
impl PartialEq for DatePrecision
Source§impl Serialize for DatePrecision
impl Serialize for DatePrecision
impl Copy for DatePrecision
impl Eq for DatePrecision
impl StructuralPartialEq for DatePrecision
Auto Trait Implementations§
impl Freeze for DatePrecision
impl RefUnwindSafe for DatePrecision
impl Send for DatePrecision
impl Sync for DatePrecision
impl Unpin for DatePrecision
impl UnsafeUnpin for DatePrecision
impl UnwindSafe for DatePrecision
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