Struct sqlx_model::SqlExpr
source · pub struct SqlExpr<T: Display>(pub T);
Expand description
保留原样的变量,不自动转义,当为自定义SQL 不能当字符串串处理时使用
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for SqlExpr<T>where
T: RefUnwindSafe,
impl<T> Send for SqlExpr<T>where
T: Send,
impl<T> Sync for SqlExpr<T>where
T: Sync,
impl<T> Unpin for SqlExpr<T>where
T: Unpin,
impl<T> UnwindSafe for SqlExpr<T>where
T: UnwindSafe,
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