pub struct Lock {
pub tables: Vec<LockTableTarget>,
pub lock_mode: Option<LockTableMode>,
pub nowait: bool,
}Expand description
A LOCK statement.
Fields§
§tables: Vec<LockTableTarget>List of tables to lock.
lock_mode: Option<LockTableMode>Lock mode.
nowait: boolWhether NOWAIT was specified.
Trait Implementations§
Source§impl Ord for Lock
impl Ord for Lock
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Lock
impl PartialOrd for Lock
impl Eq for Lock
impl StructuralPartialEq for Lock
Auto Trait Implementations§
impl Freeze for Lock
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnsafeUnpin for Lock
impl UnwindSafe for Lock
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