pub struct PriceV2Depth {
pub buy_price_impact_ratio: Option<PriceV2PriceImpactRatio>,
pub sell_price_impact_ratio: Option<PriceV2PriceImpactRatio>,
}Fields§
§buy_price_impact_ratio: Option<PriceV2PriceImpactRatio>§sell_price_impact_ratio: Option<PriceV2PriceImpactRatio>Trait Implementations§
Source§impl Clone for PriceV2Depth
impl Clone for PriceV2Depth
Source§fn clone(&self) -> PriceV2Depth
fn clone(&self) -> PriceV2Depth
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 PriceV2Depth
impl Debug for PriceV2Depth
Source§impl Default for PriceV2Depth
impl Default for PriceV2Depth
Source§fn default() -> PriceV2Depth
fn default() -> PriceV2Depth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PriceV2Depth
impl<'de> Deserialize<'de> for PriceV2Depth
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 PriceV2Depth
impl RefUnwindSafe for PriceV2Depth
impl Send for PriceV2Depth
impl Sync for PriceV2Depth
impl Unpin for PriceV2Depth
impl UnsafeUnpin for PriceV2Depth
impl UnwindSafe for PriceV2Depth
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