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