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