Struct hive_metastore::CheckLockRequest
source · pub struct CheckLockRequest {
pub lockid: i64,
pub txnid: Option<i64>,
pub elapsed_ms: Option<i64>,
}
Fields§
§lockid: i64
§txnid: Option<i64>
§elapsed_ms: Option<i64>
Trait Implementations§
source§impl Clone for CheckLockRequest
impl Clone for CheckLockRequest
source§fn clone(&self) -> CheckLockRequest
fn clone(&self) -> CheckLockRequest
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 CheckLockRequest
impl Debug for CheckLockRequest
source§impl Default for CheckLockRequest
impl Default for CheckLockRequest
source§fn default() -> CheckLockRequest
fn default() -> CheckLockRequest
Returns the “default value” for a type. Read more
source§impl Hash for CheckLockRequest
impl Hash for CheckLockRequest
source§impl Message for CheckLockRequest
impl Message for CheckLockRequest
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 CheckLockRequest
impl Ord for CheckLockRequest
source§fn cmp(&self, other: &CheckLockRequest) -> Ordering
fn cmp(&self, other: &CheckLockRequest) -> 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 CheckLockRequest
impl PartialEq for CheckLockRequest
source§fn eq(&self, other: &CheckLockRequest) -> bool
fn eq(&self, other: &CheckLockRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CheckLockRequest
impl PartialOrd for CheckLockRequest
source§fn partial_cmp(&self, other: &CheckLockRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &CheckLockRequest) -> 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 CheckLockRequest
impl StructuralPartialEq for CheckLockRequest
Auto Trait Implementations§
impl Freeze for CheckLockRequest
impl RefUnwindSafe for CheckLockRequest
impl Send for CheckLockRequest
impl Sync for CheckLockRequest
impl Unpin for CheckLockRequest
impl UnwindSafe for CheckLockRequest
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