pub struct TSCloseOperationReq {
pub session_id: i64,
pub query_id: Option<i64>,
pub statement_id: Option<i64>,
}
Fields§
§session_id: i64
§query_id: Option<i64>
§statement_id: Option<i64>
Implementations§
Source§impl TSCloseOperationReq
impl TSCloseOperationReq
pub fn new<F2, F3>( session_id: i64, query_id: F2, statement_id: F3, ) -> TSCloseOperationReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TSCloseOperationReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TSCloseOperationReq
impl Clone for TSCloseOperationReq
Source§fn clone(&self) -> TSCloseOperationReq
fn clone(&self) -> TSCloseOperationReq
Returns a duplicate 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 TSCloseOperationReq
impl Debug for TSCloseOperationReq
Source§impl Hash for TSCloseOperationReq
impl Hash for TSCloseOperationReq
Source§impl Ord for TSCloseOperationReq
impl Ord for TSCloseOperationReq
Source§fn cmp(&self, other: &TSCloseOperationReq) -> Ordering
fn cmp(&self, other: &TSCloseOperationReq) -> 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 TSCloseOperationReq
impl PartialEq for TSCloseOperationReq
Source§impl PartialOrd for TSCloseOperationReq
impl PartialOrd for TSCloseOperationReq
impl Eq for TSCloseOperationReq
impl StructuralPartialEq for TSCloseOperationReq
Auto Trait Implementations§
impl Freeze for TSCloseOperationReq
impl RefUnwindSafe for TSCloseOperationReq
impl Send for TSCloseOperationReq
impl Sync for TSCloseOperationReq
impl Unpin for TSCloseOperationReq
impl UnwindSafe for TSCloseOperationReq
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