pub struct PortfolioStability {
pub is_margin_on: Option<bool>,
pub borrowed_funds: Option<Decimal>,
pub stability_status_id: Option<u32>,
pub stability_status_name: Option<String>,
pub refill_sum: Option<Decimal>,
}Expand description
Stability of the portfolio (portfolioStability).
Fields§
§is_margin_on: Option<bool>true if margin trading is on.
borrowed_funds: Option<Decimal>All debts, in roubles.
stability_status_id: Option<u32>Id of the status, 0 to 5 by the broker docs.
stability_status_name: Option<String>Text of the status.
refill_sum: Option<Decimal>Amount needed to get out of a margin call.
Trait Implementations§
Source§impl Clone for PortfolioStability
impl Clone for PortfolioStability
Source§fn clone(&self) -> PortfolioStability
fn clone(&self) -> PortfolioStability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PortfolioStability
impl Debug for PortfolioStability
Source§impl<'de> Deserialize<'de> for PortfolioStability
impl<'de> Deserialize<'de> for PortfolioStability
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 PortfolioStability
impl RefUnwindSafe for PortfolioStability
impl Send for PortfolioStability
impl Sync for PortfolioStability
impl Unpin for PortfolioStability
impl UnsafeUnpin for PortfolioStability
impl UnwindSafe for PortfolioStability
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