pub struct LockingClause {
pub strength: LockStrength,
pub of_tables: Vec<String>,
pub policy: LockWait,
}Expand description
v7.39 (round 293, E3 Phase 1) — a row-locking clause.
spg-sql cannot depend on spg-engine, so the strengths and
policies are spelled again here and mapped at the engine boundary.
Fields§
§strength: LockStrength§of_tables: Vec<String>FOR UPDATE OF t1, t2 — empty means every relation in the FROM.
policy: LockWaitTrait Implementations§
Source§impl Clone for LockingClause
impl Clone for LockingClause
Source§fn clone(&self) -> LockingClause
fn clone(&self) -> LockingClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockingClause
impl Debug for LockingClause
impl Eq for LockingClause
Source§impl PartialEq for LockingClause
impl PartialEq for LockingClause
impl StructuralPartialEq for LockingClause
Auto Trait Implementations§
impl Freeze for LockingClause
impl RefUnwindSafe for LockingClause
impl Send for LockingClause
impl Sync for LockingClause
impl Unpin for LockingClause
impl UnsafeUnpin for LockingClause
impl UnwindSafe for LockingClause
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