pub struct IntervalLiteral {
pub value: Box<Expr>,
pub leading: String,
pub trailing: Option<String>,
}Expand description
INTERVAL value part [TO part].
Fields§
§value: Box<Expr>§leading: String§trailing: Option<String>Trait Implementations§
Source§impl Clone for IntervalLiteral
impl Clone for IntervalLiteral
Source§impl Debug for IntervalLiteral
impl Debug for IntervalLiteral
Source§impl<'de> Deserialize<'de> for IntervalLiteral
impl<'de> Deserialize<'de> for IntervalLiteral
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
impl Eq for IntervalLiteral
Source§impl Hash for IntervalLiteral
impl Hash for IntervalLiteral
Source§impl PartialEq for IntervalLiteral
impl PartialEq for IntervalLiteral
Source§impl Serialize for IntervalLiteral
impl Serialize for IntervalLiteral
impl StructuralPartialEq for IntervalLiteral
Auto Trait Implementations§
impl Forget for IntervalLiteral
impl Freeze for IntervalLiteral
impl Move for IntervalLiteral
impl RefUnwindSafe for IntervalLiteral
impl Send for IntervalLiteral
impl Sync for IntervalLiteral
impl Unpin for IntervalLiteral
impl UnsafeUnpin for IntervalLiteralwhere
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for IntervalLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.