Struct nektar::ShowLocksResponseElement
source · pub struct ShowLocksResponseElement {Show 16 fields
pub lockid: i64,
pub dbname: String,
pub tablename: Option<String>,
pub partname: Option<String>,
pub state: LockState,
pub type_: LockType,
pub txnid: Option<i64>,
pub lastheartbeat: i64,
pub acquiredat: Option<i64>,
pub user: String,
pub hostname: String,
pub heartbeat_count: Option<i32>,
pub agent_info: Option<String>,
pub blocked_by_ext_id: Option<i64>,
pub blocked_by_int_id: Option<i64>,
pub lock_id_internal: Option<i64>,
}Fields§
§lockid: i64§dbname: String§tablename: Option<String>§partname: Option<String>§state: LockState§type_: LockType§txnid: Option<i64>§lastheartbeat: i64§acquiredat: Option<i64>§user: String§hostname: String§heartbeat_count: Option<i32>§agent_info: Option<String>§blocked_by_ext_id: Option<i64>§blocked_by_int_id: Option<i64>§lock_id_internal: Option<i64>Implementations§
source§impl ShowLocksResponseElement
impl ShowLocksResponseElement
pub fn new<F3, F4, F7, F9, F12, F13, F14, F15, F16>( lockid: i64, dbname: String, tablename: F3, partname: F4, state: LockState, type_: LockType, txnid: F7, lastheartbeat: i64, acquiredat: F9, user: String, hostname: String, heartbeat_count: F12, agent_info: F13, blocked_by_ext_id: F14, blocked_by_int_id: F15, lock_id_internal: F16 ) -> ShowLocksResponseElement
Trait Implementations§
source§impl Clone for ShowLocksResponseElement
impl Clone for ShowLocksResponseElement
source§fn clone(&self) -> ShowLocksResponseElement
fn clone(&self) -> ShowLocksResponseElement
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 ShowLocksResponseElement
impl Debug for ShowLocksResponseElement
source§impl Hash for ShowLocksResponseElement
impl Hash for ShowLocksResponseElement
source§impl Ord for ShowLocksResponseElement
impl Ord for ShowLocksResponseElement
source§fn cmp(&self, other: &ShowLocksResponseElement) -> Ordering
fn cmp(&self, other: &ShowLocksResponseElement) -> 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 ShowLocksResponseElement
impl PartialEq for ShowLocksResponseElement
source§fn eq(&self, other: &ShowLocksResponseElement) -> bool
fn eq(&self, other: &ShowLocksResponseElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ShowLocksResponseElement
impl PartialOrd for ShowLocksResponseElement
source§fn partial_cmp(&self, other: &ShowLocksResponseElement) -> Option<Ordering>
fn partial_cmp(&self, other: &ShowLocksResponseElement) -> 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 moresource§impl TSerializable for ShowLocksResponseElement
impl TSerializable for ShowLocksResponseElement
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<ShowLocksResponseElement>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
impl Eq for ShowLocksResponseElement
impl StructuralEq for ShowLocksResponseElement
impl StructuralPartialEq for ShowLocksResponseElement
Auto Trait Implementations§
impl RefUnwindSafe for ShowLocksResponseElement
impl Send for ShowLocksResponseElement
impl Sync for ShowLocksResponseElement
impl Unpin for ShowLocksResponseElement
impl UnwindSafe for ShowLocksResponseElement
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