pub struct DatetimeTrunc {
pub this: Box<Expression>,
pub unit: String,
pub zone: Option<Box<Expression>>,
}Expand description
DatetimeTrunc
Fields§
§this: Box<Expression>§unit: String§zone: Option<Box<Expression>>Trait Implementations§
Source§impl Clone for DatetimeTrunc
impl Clone for DatetimeTrunc
Source§fn clone(&self) -> DatetimeTrunc
fn clone(&self) -> DatetimeTrunc
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 DatetimeTrunc
impl Debug for DatetimeTrunc
Source§impl<'de> Deserialize<'de> for DatetimeTrunc
impl<'de> Deserialize<'de> for DatetimeTrunc
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 for DatetimeTrunc
impl PartialEq for DatetimeTrunc
Source§impl Serialize for DatetimeTrunc
impl Serialize for DatetimeTrunc
impl StructuralPartialEq for DatetimeTrunc
Auto Trait Implementations§
impl Freeze for DatetimeTrunc
impl RefUnwindSafe for DatetimeTrunc
impl Send for DatetimeTrunc
impl Sync for DatetimeTrunc
impl Unpin for DatetimeTrunc
impl UnwindSafe for DatetimeTrunc
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