pub struct SessionRequest {
pub contract_id: TradeAccountId,
pub session_id: Identity,
pub signature: Signature,
pub contract_ids: Vec<ContractId>,
pub nonce: String,
pub expiry: String,
}Expand description
Request body for PUT /v1/session.
Fields§
§contract_id: TradeAccountId§session_id: Identity§signature: Signature§contract_ids: Vec<ContractId>§nonce: String§expiry: StringTrait Implementations§
Source§impl Clone for SessionRequest
impl Clone for SessionRequest
Source§fn clone(&self) -> SessionRequest
fn clone(&self) -> SessionRequest
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 SessionRequest
impl Debug for SessionRequest
Source§impl<'de> Deserialize<'de> for SessionRequest
impl<'de> Deserialize<'de> for SessionRequest
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 SessionRequest
impl RefUnwindSafe for SessionRequest
impl Send for SessionRequest
impl Sync for SessionRequest
impl Unpin for SessionRequest
impl UnwindSafe for SessionRequest
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