pub enum InstrumentSelector {
Exact {
instrument: InstrumentId,
},
Alias {
alias: InstrumentAlias,
listing_venue: Option<ListingVenueId>,
market_kind: Option<MarketKind>,
},
}Expand description
Selector for exact identity or an explicitly scoped alias.
Variants§
Trait Implementations§
Source§impl Clone for InstrumentSelector
impl Clone for InstrumentSelector
Source§fn clone(&self) -> InstrumentSelector
fn clone(&self) -> InstrumentSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstrumentSelector
impl Debug for InstrumentSelector
Source§impl<'de> Deserialize<'de> for InstrumentSelector
impl<'de> Deserialize<'de> for InstrumentSelector
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 Eq for InstrumentSelector
Source§impl PartialEq for InstrumentSelector
impl PartialEq for InstrumentSelector
Source§impl Serialize for InstrumentSelector
impl Serialize for InstrumentSelector
impl StructuralPartialEq for InstrumentSelector
Auto Trait Implementations§
impl Freeze for InstrumentSelector
impl RefUnwindSafe for InstrumentSelector
impl Send for InstrumentSelector
impl Sync for InstrumentSelector
impl Unpin for InstrumentSelector
impl UnsafeUnpin for InstrumentSelector
impl UnwindSafe for InstrumentSelector
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