pub enum Scope {
MarketData,
ReadAccount,
Trade,
OptionSpreads,
Matrix,
OpenId,
OfflineAccess,
}Expand description
OAuth2 scopes controlling API access levels.
Use Scope::defaults for the most common combination.
Variants§
MarketData
Access to market data endpoints.
ReadAccount
Read-only access to brokerage accounts.
Trade
Permission to place and manage orders.
OptionSpreads
Access to option spread endpoints.
Matrix
Access to the Matrix order entry.
OpenId
OpenID Connect profile scope.
OfflineAccess
Enables refresh tokens for offline access.
Implementations§
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.