pub struct AsyncTraderState {
pub connected: bool,
pub authenticated: bool,
pub logged_in: bool,
pub auth_info: Option<RspAuthenticateField>,
pub login_info: Option<RspUserLoginField>,
}
Expand description
异步交易API状态
Fields§
§connected: bool
§authenticated: bool
§logged_in: bool
§auth_info: Option<RspAuthenticateField>
§login_info: Option<RspUserLoginField>
Trait Implementations§
Source§impl Clone for AsyncTraderState
impl Clone for AsyncTraderState
Source§fn clone(&self) -> AsyncTraderState
fn clone(&self) -> AsyncTraderState
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 AsyncTraderState
impl Debug for AsyncTraderState
Source§impl Default for AsyncTraderState
impl Default for AsyncTraderState
Source§fn default() -> AsyncTraderState
fn default() -> AsyncTraderState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncTraderState
impl RefUnwindSafe for AsyncTraderState
impl Send for AsyncTraderState
impl Sync for AsyncTraderState
impl Unpin for AsyncTraderState
impl UnwindSafe for AsyncTraderState
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