Struct hive_metastore::TxnInfo
source · pub struct TxnInfo {
pub id: i64,
pub state: TxnState,
pub user: FastStr,
pub hostname: FastStr,
pub agent_info: Option<FastStr>,
pub heartbeat_count: Option<i32>,
pub meta_info: Option<FastStr>,
pub started_time: Option<i64>,
pub last_heartbeat_time: Option<i64>,
}
Fields§
§id: i64
§state: TxnState
§user: FastStr
§hostname: FastStr
§agent_info: Option<FastStr>
§heartbeat_count: Option<i32>
§meta_info: Option<FastStr>
§started_time: Option<i64>
§last_heartbeat_time: Option<i64>
Trait Implementations§
source§impl Message for TxnInfo
impl Message for TxnInfo
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 TxnInfo
impl Ord for TxnInfo
source§impl PartialEq for TxnInfo
impl PartialEq for TxnInfo
source§impl PartialOrd for TxnInfo
impl PartialOrd for TxnInfo
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 TxnInfo
impl StructuralPartialEq for TxnInfo
Auto Trait Implementations§
impl !Freeze for TxnInfo
impl RefUnwindSafe for TxnInfo
impl Send for TxnInfo
impl Sync for TxnInfo
impl Unpin for TxnInfo
impl UnwindSafe for TxnInfo
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