pub struct OrderState {Show 15 fields
pub status: String,
pub init_margin_before: String,
pub maint_margin_before: String,
pub equity_with_loan_before: String,
pub init_margin_change: String,
pub maint_margin_change: String,
pub equity_with_loan_change: String,
pub init_margin_after: String,
pub maint_margin_after: String,
pub equity_with_loan_after: String,
pub commission: f64,
pub min_commission: f64,
pub max_commission: f64,
pub commission_currency: String,
pub warning_text: String,
}
Fields§
§status: String
§init_margin_before: String
§maint_margin_before: String
§equity_with_loan_before: String
§init_margin_change: String
§maint_margin_change: String
§equity_with_loan_change: String
§init_margin_after: String
§maint_margin_after: String
§equity_with_loan_after: String
§commission: f64
§min_commission: f64
§max_commission: f64
§commission_currency: String
§warning_text: String
Trait Implementations§
Source§impl Clone for OrderState
impl Clone for OrderState
Source§fn clone(&self) -> OrderState
fn clone(&self) -> OrderState
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 OrderState
impl Debug for OrderState
Source§impl Default for OrderState
impl Default for OrderState
Source§fn default() -> OrderState
fn default() -> OrderState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrderState
impl RefUnwindSafe for OrderState
impl Send for OrderState
impl Sync for OrderState
impl Unpin for OrderState
impl UnwindSafe for OrderState
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<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more