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