pub struct QuestradeConfig {
pub refresh_token: String,
pub practice: bool,
pub timeout: Duration,
}Expand description
Questrade configuration
Fields§
§refresh_token: StringRefresh token (obtain from Questrade account)
practice: boolPractice (paper) trading mode
timeout: DurationRequest timeout
Trait Implementations§
Source§impl Clone for QuestradeConfig
impl Clone for QuestradeConfig
Source§fn clone(&self) -> QuestradeConfig
fn clone(&self) -> QuestradeConfig
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 QuestradeConfig
impl Debug for QuestradeConfig
Auto Trait Implementations§
impl Freeze for QuestradeConfig
impl RefUnwindSafe for QuestradeConfig
impl Send for QuestradeConfig
impl Sync for QuestradeConfig
impl Unpin for QuestradeConfig
impl UnwindSafe for QuestradeConfig
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