Struct nektar::OpenTxnRequest
source · pub struct OpenTxnRequest {
pub num_txns: i32,
pub user: String,
pub hostname: String,
pub agent_info: Option<String>,
pub repl_policy: Option<String>,
pub repl_src_txn_ids: Option<Vec<i64>>,
}Fields§
§num_txns: i32§user: String§hostname: String§agent_info: Option<String>§repl_policy: Option<String>§repl_src_txn_ids: Option<Vec<i64>>Implementations§
Trait Implementations§
source§impl Clone for OpenTxnRequest
impl Clone for OpenTxnRequest
source§fn clone(&self) -> OpenTxnRequest
fn clone(&self) -> OpenTxnRequest
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 OpenTxnRequest
impl Debug for OpenTxnRequest
source§impl Hash for OpenTxnRequest
impl Hash for OpenTxnRequest
source§impl Ord for OpenTxnRequest
impl Ord for OpenTxnRequest
source§fn cmp(&self, other: &OpenTxnRequest) -> Ordering
fn cmp(&self, other: &OpenTxnRequest) -> 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 OpenTxnRequest
impl PartialEq for OpenTxnRequest
source§fn eq(&self, other: &OpenTxnRequest) -> bool
fn eq(&self, other: &OpenTxnRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for OpenTxnRequest
impl PartialOrd for OpenTxnRequest
source§fn partial_cmp(&self, other: &OpenTxnRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &OpenTxnRequest) -> 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 OpenTxnRequest
impl TSerializable for OpenTxnRequest
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<OpenTxnRequest>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
impl Eq for OpenTxnRequest
impl StructuralEq for OpenTxnRequest
impl StructuralPartialEq for OpenTxnRequest
Auto Trait Implementations§
impl RefUnwindSafe for OpenTxnRequest
impl Send for OpenTxnRequest
impl Sync for OpenTxnRequest
impl Unpin for OpenTxnRequest
impl UnwindSafe for OpenTxnRequest
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