pub struct Set { /* private fields */ }Implementations§
Source§impl Set
impl Set
pub fn new() -> Set
pub fn field(self, col: &str, val: impl Into<Value>) -> Set
pub fn nullable_field(self, col: &str, val: Option<impl Into<Value>>) -> Set
pub fn raw_expr(self, col: &str, expr: &str) -> Set
pub fn is_empty(&self) -> bool
pub fn build(&self, param_start: usize) -> (String, Vec<Value>, usize)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Set
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnsafeUnpin for Set
impl UnwindSafe for Set
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