pub struct SelectLockDef {
pub strength: LockStrength,
pub of: Option<Vec<SchemaRef>>,
pub nowait: bool,
pub skip_locked: bool,
pub wait: Option<u64>,
}Expand description
SELECT … FOR UPDATE / SHARE.
Fields§
§strength: LockStrength§of: Option<Vec<SchemaRef>>§nowait: bool§skip_locked: bool§wait: Option<u64>Oracle: FOR UPDATE WAIT N seconds.
Trait Implementations§
Source§impl Clone for SelectLockDef
impl Clone for SelectLockDef
Source§fn clone(&self) -> SelectLockDef
fn clone(&self) -> SelectLockDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SelectLockDef
impl RefUnwindSafe for SelectLockDef
impl Send for SelectLockDef
impl Sync for SelectLockDef
impl Unpin for SelectLockDef
impl UnsafeUnpin for SelectLockDef
impl UnwindSafe for SelectLockDef
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