Struct sql_from_models_parser::ast::Extract
source · pub struct Extract {
pub field: DateTimeField,
pub expr: Box<Expr>,
}
Expand description
EXTRACT(DateTimeField FROM
Fields§
§field: DateTimeField
§expr: Box<Expr>
Trait Implementations§
source§impl PartialEq for Extract
impl PartialEq for Extract
impl Eq for Extract
impl StructuralPartialEq for Extract
Auto Trait Implementations§
impl RefUnwindSafe for Extract
impl Send for Extract
impl Sync for Extract
impl Unpin for Extract
impl UnwindSafe for Extract
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