pub struct InstrumentId {
pub listing_venue: ListingVenueId,
pub market_kind: MarketKind,
pub listing: ListingId,
}Expand description
A broker-, exchange-, or internally-owned listing identity.
Fields§
§listing_venue: ListingVenueId§market_kind: MarketKind§listing: ListingIdImplementations§
Source§impl InstrumentId
impl InstrumentId
pub fn new( listing_venue: ListingVenueId, market_kind: MarketKind, listing: ListingId, ) -> Self
Trait Implementations§
Source§impl Clone for InstrumentId
impl Clone for InstrumentId
Source§fn clone(&self) -> InstrumentId
fn clone(&self) -> InstrumentId
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 InstrumentId
impl Debug for InstrumentId
Source§impl<'de> Deserialize<'de> for InstrumentId
impl<'de> Deserialize<'de> for InstrumentId
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 Display for InstrumentId
impl Display for InstrumentId
impl Eq for InstrumentId
Source§impl FromStr for InstrumentId
impl FromStr for InstrumentId
Source§impl Hash for InstrumentId
impl Hash for InstrumentId
Source§impl Ord for InstrumentId
impl Ord for InstrumentId
Source§fn cmp(&self, other: &InstrumentId) -> Ordering
fn cmp(&self, other: &InstrumentId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InstrumentId
impl PartialEq for InstrumentId
Source§impl PartialOrd for InstrumentId
impl PartialOrd for InstrumentId
Source§impl Serialize for InstrumentId
impl Serialize for InstrumentId
impl StructuralPartialEq for InstrumentId
Auto Trait Implementations§
impl Freeze for InstrumentId
impl RefUnwindSafe for InstrumentId
impl Send for InstrumentId
impl Sync for InstrumentId
impl Unpin for InstrumentId
impl UnsafeUnpin for InstrumentId
impl UnwindSafe for InstrumentId
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