pub struct Locks {
pub locks: Vec<Lock>,
}Expand description
Every FOR … locking clause on one statement.
A statement may carry several, one per table, so this is a list. It writes no
keyword of its own — each Lock starts with FOR — so a query renders it as
w.write_if(!locks.is_empty(), " ", &locks, "").
Fields§
§locks: Vec<Lock>The locking clauses, in order.
Implementations§
Trait Implementations§
Source§impl Expression for Locks
impl Expression for Locks
Auto Trait Implementations§
impl Freeze for Locks
impl RefUnwindSafe for Locks
impl Send for Locks
impl Sync for Locks
impl Unpin for Locks
impl UnsafeUnpin for Locks
impl UnwindSafe for Locks
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