pub struct LockTableDef {
pub table: String,
pub schema: Option<String>,
pub mode: LockMode,
pub only: bool,
pub alias: Option<String>,
pub wait: Option<u64>,
pub partition: Option<String>,
}Fields§
§table: String§schema: Option<String>Optional schema prefix.
mode: LockMode§only: boolPG: ONLY (exclude inherited tables).
alias: Option<String>MySQL: table alias.
wait: Option<u64>Oracle: WAIT N seconds.
partition: Option<String>Oracle: partition targeting.
Trait Implementations§
Source§impl Clone for LockTableDef
impl Clone for LockTableDef
Source§fn clone(&self) -> LockTableDef
fn clone(&self) -> LockTableDef
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 LockTableDef
impl RefUnwindSafe for LockTableDef
impl Send for LockTableDef
impl Sync for LockTableDef
impl Unpin for LockTableDef
impl UnsafeUnpin for LockTableDef
impl UnwindSafe for LockTableDef
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