#[non_exhaustive]pub enum PriceStreamEvent {
Price(Box<ClientPrice>),
Heartbeat(PricingHeartbeat),
}Expand description
One event from OANDA’s sampled pricing stream.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PriceStreamEvent
impl Clone for PriceStreamEvent
Source§impl Debug for PriceStreamEvent
impl Debug for PriceStreamEvent
Source§impl PartialEq for PriceStreamEvent
impl PartialEq for PriceStreamEvent
impl StructuralPartialEq for PriceStreamEvent
Auto Trait Implementations§
impl Freeze for PriceStreamEvent
impl RefUnwindSafe for PriceStreamEvent
impl Send for PriceStreamEvent
impl Sync for PriceStreamEvent
impl Unpin for PriceStreamEvent
impl UnsafeUnpin for PriceStreamEvent
impl UnwindSafe for PriceStreamEvent
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