pub struct BlockTrade {
pub id: String,
pub timestamp: u64,
pub trades: Vec<BlockTradeTradeInfo>,
pub app_name: Option<String>,
pub broker_code: Option<String>,
pub broker_name: Option<String>,
}Expand description
Block trade information returned from get_block_trade and get_block_trades.
Fields§
§id: StringBlock trade ID
timestamp: u64Timestamp in milliseconds since UNIX epoch
trades: Vec<BlockTradeTradeInfo>List of trades in this block trade
app_name: Option<String>Name of the application that executed the block trade (optional)
broker_code: Option<String>Broker code associated with the trade
broker_name: Option<String>Broker name associated with the trade
Trait Implementations§
Source§impl Clone for BlockTrade
impl Clone for BlockTrade
Source§fn clone(&self) -> BlockTrade
fn clone(&self) -> BlockTrade
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 BlockTrade
impl Debug for BlockTrade
Source§impl<'de> Deserialize<'de> for BlockTrade
impl<'de> Deserialize<'de> for BlockTrade
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 BlockTrade
impl PartialEq for BlockTrade
Source§impl Serialize for BlockTrade
impl Serialize for BlockTrade
impl StructuralPartialEq for BlockTrade
Auto Trait Implementations§
impl Freeze for BlockTrade
impl RefUnwindSafe for BlockTrade
impl Send for BlockTrade
impl Sync for BlockTrade
impl Unpin for BlockTrade
impl UnsafeUnpin for BlockTrade
impl UnwindSafe for BlockTrade
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