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