pub struct AccountConfiguration {
pub dtbp_check: String,
pub no_shorting: bool,
pub suspend_trade: bool,
pub trade_confirm_email: String,
}
Fields§
§dtbp_check: String
§no_shorting: bool
§suspend_trade: bool
§trade_confirm_email: String
Implementations§
Source§impl AccountConfiguration
impl AccountConfiguration
pub fn get(client: &Client) -> AccountConfiguration
pub fn update( client: &Client, _account: AccountConfiguration, ) -> AccountConfiguration
Trait Implementations§
Source§impl Clone for AccountConfiguration
impl Clone for AccountConfiguration
Source§fn clone(&self) -> AccountConfiguration
fn clone(&self) -> AccountConfiguration
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 AccountConfiguration
impl Debug for AccountConfiguration
Source§impl<'de> Deserialize<'de> for AccountConfiguration
impl<'de> Deserialize<'de> for AccountConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccountConfiguration
impl RefUnwindSafe for AccountConfiguration
impl Send for AccountConfiguration
impl Sync for AccountConfiguration
impl Unpin for AccountConfiguration
impl UnwindSafe for AccountConfiguration
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