pub struct OperationTrade {
pub trade_id: String,
pub date: String,
pub price: f64,
pub quantity: i32,
}Fields§
§trade_id: String§date: StringISO8601
price: f64§quantity: i32Implementations§
Trait Implementations§
Source§impl Clone for OperationTrade
impl Clone for OperationTrade
Source§fn clone(&self) -> OperationTrade
fn clone(&self) -> OperationTrade
Returns a duplicate of the value. Read more
1.0.0 · 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 OperationTrade
impl Debug for OperationTrade
Source§impl<'de> Deserialize<'de> for OperationTrade
impl<'de> Deserialize<'de> for OperationTrade
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 OperationTrade
impl PartialEq for OperationTrade
Source§impl Serialize for OperationTrade
impl Serialize for OperationTrade
impl StructuralPartialEq for OperationTrade
Auto Trait Implementations§
impl Freeze for OperationTrade
impl RefUnwindSafe for OperationTrade
impl Send for OperationTrade
impl Sync for OperationTrade
impl Unpin for OperationTrade
impl UnwindSafe for OperationTrade
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