pub struct RiskCheckResult {
pub passed: bool,
pub margin_required: Decimal,
pub buying_power_used: Decimal,
pub warnings: Vec<String>,
}Expand description
Risk check result
Fields§
§passed: bool§margin_required: Decimal§buying_power_used: Decimal§warnings: Vec<String>Trait Implementations§
Source§impl Clone for RiskCheckResult
impl Clone for RiskCheckResult
Source§fn clone(&self) -> RiskCheckResult
fn clone(&self) -> RiskCheckResult
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 moreAuto Trait Implementations§
impl Freeze for RiskCheckResult
impl RefUnwindSafe for RiskCheckResult
impl Send for RiskCheckResult
impl Sync for RiskCheckResult
impl Unpin for RiskCheckResult
impl UnwindSafe for RiskCheckResult
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