Struct sql_from_models_parser::ast::Assert
source · pub struct Assert {
pub condition: Expr,
pub message: Option<Expr>,
}
Expand description
ASSERT <condition> [AS <message>]
Fields§
§condition: Expr
§message: Option<Expr>
Trait Implementations§
source§impl PartialEq for Assert
impl PartialEq for Assert
impl Eq for Assert
impl StructuralPartialEq for Assert
Auto Trait Implementations§
impl RefUnwindSafe for Assert
impl Send for Assert
impl Sync for Assert
impl Unpin for Assert
impl UnwindSafe for Assert
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