Struct hive_metastore::LockComponent
source · pub struct LockComponent {
pub type: LockType,
pub level: LockLevel,
pub dbname: FastStr,
pub tablename: Option<FastStr>,
pub partitionname: Option<FastStr>,
pub operation_type: Option<DataOperationType>,
pub is_acid: Option<bool>,
pub is_dynamic_partition_write: Option<bool>,
}
Fields§
§type: LockType
§level: LockLevel
§dbname: FastStr
§tablename: Option<FastStr>
§partitionname: Option<FastStr>
§operation_type: Option<DataOperationType>
§is_acid: Option<bool>
§is_dynamic_partition_write: Option<bool>
Trait Implementations§
source§impl Clone for LockComponent
impl Clone for LockComponent
source§fn clone(&self) -> LockComponent
fn clone(&self) -> LockComponent
Returns a copy 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 LockComponent
impl Debug for LockComponent
source§impl Default for LockComponent
impl Default for LockComponent
source§impl Hash for LockComponent
impl Hash for LockComponent
source§impl Message for LockComponent
impl Message for LockComponent
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for LockComponent
impl Ord for LockComponent
source§fn cmp(&self, other: &LockComponent) -> Ordering
fn cmp(&self, other: &LockComponent) -> 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 LockComponent
impl PartialEq for LockComponent
source§fn eq(&self, other: &LockComponent) -> bool
fn eq(&self, other: &LockComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LockComponent
impl PartialOrd for LockComponent
source§fn partial_cmp(&self, other: &LockComponent) -> Option<Ordering>
fn partial_cmp(&self, other: &LockComponent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for LockComponent
impl StructuralPartialEq for LockComponent
Auto Trait Implementations§
impl !Freeze for LockComponent
impl RefUnwindSafe for LockComponent
impl Send for LockComponent
impl Sync for LockComponent
impl Unpin for LockComponent
impl UnwindSafe for LockComponent
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