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