Struct ib_client::models::auth_status::AuthStatus[][src]

pub struct AuthStatus {
    pub authenticated: Option<bool>,
    pub connected: Option<bool>,
    pub competing: Option<bool>,
    pub fail: Option<String>,
    pub message: Option<String>,
    pub prompts: Option<Vec<String>>,
}

Fields

authenticated: Option<bool>

Brokerage session is authenticated

connected: Option<bool>

Connected to backend

competing: Option<bool>

Brokerage session is competing, e.g. user is logged in to IBKR Mobile, WebTrader, TWS or other trading platforms.

fail: Option<String>

Authentication failed, why.

message: Option<String>

System messages that may affect trading

prompts: Option<Vec<String>>

Prompt messages that may affect trading or the account

Implementations

impl AuthStatus[src]

pub fn new() -> AuthStatus[src]

Trait Implementations

impl Clone for AuthStatus[src]

impl Debug for AuthStatus[src]

impl<'de> Deserialize<'de> for AuthStatus[src]

impl PartialEq<AuthStatus> for AuthStatus[src]

impl Serialize for AuthStatus[src]

impl StructuralPartialEq for AuthStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.