pub struct LockClause {
pub lock_type: LockType,
pub of: Option<ObjectName>,
pub nonblock: Option<NonBlock>,
}Fields§
§lock_type: LockType§of: Option<ObjectName>§nonblock: Option<NonBlock>Trait Implementations§
Source§impl AsNodeKey for LockClause
impl AsNodeKey for LockClause
fn as_node_key(&self) -> NodeKey<'_>
Source§impl Clone for LockClause
impl Clone for LockClause
Source§fn clone(&self) -> LockClause
fn clone(&self) -> LockClause
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 LockClause
impl Debug for LockClause
Source§impl Display for LockClause
impl Display for LockClause
Source§impl Hash for LockClause
impl Hash for LockClause
Source§impl Ord for LockClause
impl Ord for LockClause
Source§fn cmp(&self, other: &LockClause) -> Ordering
fn cmp(&self, other: &LockClause) -> 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 LockClause
impl PartialEq for LockClause
Source§impl PartialOrd for LockClause
impl PartialOrd for LockClause
Source§impl<'ast> Transformable<'ast> for LockClause
impl<'ast> Transformable<'ast> for LockClause
Source§impl Visitable for LockClause
impl Visitable for LockClause
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl Eq for LockClause
impl StructuralPartialEq for LockClause
Auto Trait Implementations§
impl Freeze for LockClause
impl RefUnwindSafe for LockClause
impl Send for LockClause
impl Sync for LockClause
impl Unpin for LockClause
impl UnwindSafe for LockClause
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