pub struct ProfileBin {
pub price_low: f64,
pub price_high: f64,
pub value: f64,
}Expand description
A single bin/level of a distribution profile (price/volume profile, delta profile, …).
Fields§
§price_low: f64§price_high: f64§value: f64Trait Implementations§
Source§impl Clone for ProfileBin
impl Clone for ProfileBin
Source§fn clone(&self) -> ProfileBin
fn clone(&self) -> ProfileBin
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 moreimpl Copy for ProfileBin
Source§impl Debug for ProfileBin
impl Debug for ProfileBin
Source§impl<'de> Deserialize<'de> for ProfileBin
impl<'de> Deserialize<'de> for ProfileBin
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 ProfileBin
impl PartialEq for ProfileBin
Source§impl Serialize for ProfileBin
impl Serialize for ProfileBin
impl StructuralPartialEq for ProfileBin
Auto Trait Implementations§
impl Freeze for ProfileBin
impl RefUnwindSafe for ProfileBin
impl Send for ProfileBin
impl Sync for ProfileBin
impl Unpin for ProfileBin
impl UnsafeUnpin for ProfileBin
impl UnwindSafe for ProfileBin
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