Struct hive_metastore::LockRequest
source · pub struct LockRequest {
pub component: Vec<LockComponent>,
pub txnid: Option<i64>,
pub user: FastStr,
pub hostname: FastStr,
pub agent_info: Option<FastStr>,
}
Fields§
§component: Vec<LockComponent>
§txnid: Option<i64>
§user: FastStr
§hostname: FastStr
§agent_info: Option<FastStr>
Trait Implementations§
source§impl Clone for LockRequest
impl Clone for LockRequest
source§fn clone(&self) -> LockRequest
fn clone(&self) -> LockRequest
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 LockRequest
impl Debug for LockRequest
source§impl Default for LockRequest
impl Default for LockRequest
source§impl Hash for LockRequest
impl Hash for LockRequest
source§impl Message for LockRequest
impl Message for LockRequest
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 LockRequest
impl Ord for LockRequest
source§fn cmp(&self, other: &LockRequest) -> Ordering
fn cmp(&self, other: &LockRequest) -> 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 LockRequest
impl PartialEq for LockRequest
source§fn eq(&self, other: &LockRequest) -> bool
fn eq(&self, other: &LockRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LockRequest
impl PartialOrd for LockRequest
source§fn partial_cmp(&self, other: &LockRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &LockRequest) -> 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 LockRequest
impl StructuralPartialEq for LockRequest
Auto Trait Implementations§
impl !Freeze for LockRequest
impl RefUnwindSafe for LockRequest
impl Send for LockRequest
impl Sync for LockRequest
impl Unpin for LockRequest
impl UnwindSafe for LockRequest
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