pub struct FeedEvent {
pub exchange: ExchangeId,
pub account_type: AccountType,
pub symbol: String,
pub event: StreamEvent,
}Expand description
Event emitted by MarketFeed. Wraps the raw StreamEvent with the source
tuple so a single merged stream can carry events from many exchanges.
Fields§
§exchange: ExchangeId§account_type: AccountType§symbol: String§event: StreamEventTrait Implementations§
Auto Trait Implementations§
impl Freeze for FeedEvent
impl RefUnwindSafe for FeedEvent
impl Send for FeedEvent
impl Sync for FeedEvent
impl Unpin for FeedEvent
impl UnsafeUnpin for FeedEvent
impl UnwindSafe for FeedEvent
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