pub struct NotionalRules {
pub asset: AssetId,
pub minimum: Option<PositiveDecimal>,
pub maximum: Option<PositiveDecimal>,
}Expand description
Optional bounds for a model-calculated notional value.
Fields§
§asset: AssetId§minimum: Option<PositiveDecimal>§maximum: Option<PositiveDecimal>Trait Implementations§
Source§impl Clone for NotionalRules
impl Clone for NotionalRules
Source§fn clone(&self) -> NotionalRules
fn clone(&self) -> NotionalRules
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 NotionalRules
impl Debug for NotionalRules
Source§impl<'de> Deserialize<'de> for NotionalRules
impl<'de> Deserialize<'de> for NotionalRules
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
impl Eq for NotionalRules
Source§impl PartialEq for NotionalRules
impl PartialEq for NotionalRules
Source§impl Serialize for NotionalRules
impl Serialize for NotionalRules
impl StructuralPartialEq for NotionalRules
Auto Trait Implementations§
impl Freeze for NotionalRules
impl RefUnwindSafe for NotionalRules
impl Send for NotionalRules
impl Sync for NotionalRules
impl Unpin for NotionalRules
impl UnsafeUnpin for NotionalRules
impl UnwindSafe for NotionalRules
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