#[non_exhaustive]pub struct TradingPermissions {
pub spot_order_entry_allowed: Option<bool>,
pub supported_order_types: Vec<OrderType>,
pub quantity_mode_support: Vec<QuantityModeSupport>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.spot_order_entry_allowed: Option<bool>§supported_order_types: Vec<OrderType>§quantity_mode_support: Vec<QuantityModeSupport>Implementations§
Trait Implementations§
Source§impl Clone for TradingPermissions
impl Clone for TradingPermissions
Source§fn clone(&self) -> TradingPermissions
fn clone(&self) -> TradingPermissions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TradingPermissions
impl Debug for TradingPermissions
Source§impl Default for TradingPermissions
impl Default for TradingPermissions
Source§fn default() -> TradingPermissions
fn default() -> TradingPermissions
Returns the “default value” for a type. Read more
Source§impl PartialEq for TradingPermissions
impl PartialEq for TradingPermissions
Source§fn eq(&self, other: &TradingPermissions) -> bool
fn eq(&self, other: &TradingPermissions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TradingPermissions
Auto Trait Implementations§
impl Freeze for TradingPermissions
impl RefUnwindSafe for TradingPermissions
impl Send for TradingPermissions
impl Sync for TradingPermissions
impl Unpin for TradingPermissions
impl UnsafeUnpin for TradingPermissions
impl UnwindSafe for TradingPermissions
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