pub struct SetMarginModeResponse {
pub reasons: Vec<MarginModeFailureReason>,
}Expand description
Response for Client::set_margin_mode.
On success reasons is empty. On failure it contains error details
explaining why the switch was rejected.
Fields§
§reasons: Vec<MarginModeFailureReason>Trait Implementations§
Source§impl Debug for SetMarginModeResponse
impl Debug for SetMarginModeResponse
Source§impl<'de> Deserialize<'de> for SetMarginModeResponse
impl<'de> Deserialize<'de> for SetMarginModeResponse
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
Source§impl PartialEq for SetMarginModeResponse
impl PartialEq for SetMarginModeResponse
Source§fn eq(&self, other: &SetMarginModeResponse) -> bool
fn eq(&self, other: &SetMarginModeResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetMarginModeResponse
Auto Trait Implementations§
impl Freeze for SetMarginModeResponse
impl RefUnwindSafe for SetMarginModeResponse
impl Send for SetMarginModeResponse
impl Sync for SetMarginModeResponse
impl Unpin for SetMarginModeResponse
impl UnsafeUnpin for SetMarginModeResponse
impl UnwindSafe for SetMarginModeResponse
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