pub struct LockTableTarget {
pub name: ObjectName,
pub only: bool,
pub has_asterisk: bool,
}Expand description
Target of a LOCK TABLE command
Fields§
§name: ObjectNameName of the table being locked.
only: boolWhether ONLY was specified to exclude descendant tables.
has_asterisk: boolWhether * was specified to explicitly include descendant tables.
Trait Implementations§
Source§impl Clone for LockTableTarget
impl Clone for LockTableTarget
Source§fn clone(&self) -> LockTableTarget
fn clone(&self) -> LockTableTarget
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 moreSource§impl Debug for LockTableTarget
impl Debug for LockTableTarget
Source§impl<'de> Deserialize<'de> for LockTableTarget
impl<'de> Deserialize<'de> for LockTableTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LockTableTarget
impl Display for LockTableTarget
Source§impl Hash for LockTableTarget
impl Hash for LockTableTarget
Source§impl Ord for LockTableTarget
impl Ord for LockTableTarget
Source§fn cmp(&self, other: &LockTableTarget) -> Ordering
fn cmp(&self, other: &LockTableTarget) -> Ordering
1.21.0 · 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 PartialEq for LockTableTarget
impl PartialEq for LockTableTarget
Source§impl PartialOrd for LockTableTarget
impl PartialOrd for LockTableTarget
Source§impl Serialize for LockTableTarget
impl Serialize for LockTableTarget
Source§impl Visit for LockTableTarget
impl Visit for LockTableTarget
Source§impl VisitMut for LockTableTarget
impl VisitMut for LockTableTarget
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for LockTableTarget
impl StructuralPartialEq for LockTableTarget
Auto Trait Implementations§
impl Freeze for LockTableTarget
impl RefUnwindSafe for LockTableTarget
impl Send for LockTableTarget
impl Sync for LockTableTarget
impl Unpin for LockTableTarget
impl UnsafeUnpin for LockTableTarget
impl UnwindSafe for LockTableTarget
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