Enum taos_query::common::Precision
source · #[repr(i32)]pub enum Precision {
Millisecond = 0,
Microsecond = 1,
Nanosecond = 2,
}
Expand description
The precision of a timestamp or a database.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Precision
impl<'de> Deserialize<'de> for Precision
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 PartialEq<&str> for Precision
impl PartialEq<&str> for Precision
source§impl PartialEq for Precision
impl PartialEq for Precision
impl Copy for Precision
impl Eq for Precision
impl StructuralEq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnwindSafe for Precision
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