pub struct Session {
pub broker_name: String,
pub connected_at: i64,
pub account_id: Option<String>,
pub balance_id: Option<i64>,
pub account_type: AccountType,
pub server_time_offset_ms: i64,
}Fields§
§broker_name: String§connected_at: i64Epoch segundos de conexión.
account_id: Option<String>§balance_id: Option<i64>Balance activo: obligatorio para enviar órdenes (IQ Option lo exige).
account_type: AccountType§server_time_offset_ms: i64Offset (ms) entre el reloj local y el del bróker (timeSync).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Session
impl<'de> Deserialize<'de> for Session
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
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Forget for Session
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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