pub struct GetCommissionDefResponse { /* private fields */ }
Implementations§
Source§impl GetCommissionDefResponse
impl GetCommissionDefResponse
Sourcepub fn with_commission(self, value: impl Into<Decimal>) -> Self
pub fn with_commission(self, value: impl Into<Decimal>) -> Self
Calculated commission in account currency, could be null if not applicable
Sourcepub fn with_rate_of_exchange(self, value: impl Into<Decimal>) -> Self
pub fn with_rate_of_exchange(self, value: impl Into<Decimal>) -> Self
Rate of exchange between account currency and instrument base currency, could be null if not applicable
Trait Implementations§
Source§impl Clone for GetCommissionDefResponse
impl Clone for GetCommissionDefResponse
Source§fn clone(&self) -> GetCommissionDefResponse
fn clone(&self) -> GetCommissionDefResponse
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 GetCommissionDefResponse
impl Debug for GetCommissionDefResponse
Source§impl Default for GetCommissionDefResponse
impl Default for GetCommissionDefResponse
Source§fn default() -> GetCommissionDefResponse
fn default() -> GetCommissionDefResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommissionDefResponse
impl<'de> Deserialize<'de> for GetCommissionDefResponse
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 GetCommissionDefResponse
impl PartialEq for GetCommissionDefResponse
Source§impl Serialize for GetCommissionDefResponse
impl Serialize for GetCommissionDefResponse
impl StructuralPartialEq for GetCommissionDefResponse
Auto Trait Implementations§
impl Freeze for GetCommissionDefResponse
impl RefUnwindSafe for GetCommissionDefResponse
impl Send for GetCommissionDefResponse
impl Sync for GetCommissionDefResponse
impl Unpin for GetCommissionDefResponse
impl UnwindSafe for GetCommissionDefResponse
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