pub struct SessionResponse {
pub tx_id: TxId,
pub trade_account_id: TradeAccountId,
pub contract_ids: Vec<ContractId>,
pub session_id: Identity,
pub session_expiry: u64,
}Expand description
Response from PUT /v1/session.
Fields§
§tx_id: TxId§trade_account_id: TradeAccountId§contract_ids: Vec<ContractId>§session_id: Identity§session_expiry: u64Trait Implementations§
Source§impl Clone for SessionResponse
impl Clone for SessionResponse
Source§fn clone(&self) -> SessionResponse
fn clone(&self) -> SessionResponse
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 SessionResponse
impl Debug for SessionResponse
Source§impl<'de> Deserialize<'de> for SessionResponse
impl<'de> Deserialize<'de> for SessionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionResponse
impl RefUnwindSafe for SessionResponse
impl Send for SessionResponse
impl Sync for SessionResponse
impl Unpin for SessionResponse
impl UnwindSafe for SessionResponse
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