pub struct BidAsk {
pub price: Decimal,
pub volume: Decimal,
pub time: String,
}
Expand description
A bid or ask, depending on context
Fields§
§price: Decimal
§volume: Decimal
§time: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BidAsk
impl<'de> Deserialize<'de> for BidAsk
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 StructuralPartialEq for BidAsk
Auto Trait Implementations§
impl Freeze for BidAsk
impl RefUnwindSafe for BidAsk
impl Send for BidAsk
impl Sync for BidAsk
impl Unpin for BidAsk
impl UnwindSafe for BidAsk
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