Enum dbn::publishers::Venue

source ·
#[non_exhaustive]
#[repr(u16)]
pub enum Venue {
Show 42 variants Glbx = 1, Xnas = 2, Xbos = 3, Xpsx = 4, Bats = 5, Baty = 6, Edga = 7, Edgx = 8, Xnys = 9, Xcis = 10, Xase = 11, Arcx = 12, Xchi = 13, Iexg = 14, Finn = 15, Finc = 16, Finy = 17, Memx = 18, Eprl = 19, Amxo = 20, Xbox = 21, Xcbo = 22, Emld = 23, Edgo = 24, Gmni = 25, Xisx = 26, Mcry = 27, Xmio = 28, Arco = 29, Opra = 30, Mprl = 31, Xndq = 32, Xbxo = 33, C2Ox = 34, Xphl = 35, Bato = 36, Mxop = 37, Ifeu = 38, Ndex = 39, Dbeq = 40, Sphr = 41, Ltse = 42,
}
Expand description

A trading execution venue.

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.
§

Glbx = 1

CME Globex

§

Xnas = 2

Nasdaq - All Markets

§

Xbos = 3

Nasdaq OMX BX

§

Xpsx = 4

Nasdaq OMX PSX

§

Bats = 5

Cboe BZX U.S. Equities Exchange

§

Baty = 6

Cboe BYX U.S. Equities Exchange

§

Edga = 7

Cboe EDGA U.S. Equities Exchange

§

Edgx = 8

Cboe EDGX U.S. Equities Exchange

§

Xnys = 9

New York Stock Exchange, Inc.

§

Xcis = 10

NYSE National, Inc.

§

Xase = 11

NYSE MKT LLC

§

Arcx = 12

NYSE Arca

§

Xchi = 13

NYSE Chicago, Inc.

§

Iexg = 14

Investors Exchange

§

Finn = 15

FINRA/Nasdaq TRF Carteret

§

Finc = 16

FINRA/Nasdaq TRF Chicago

§

Finy = 17

FINRA/NYSE TRF

§

Memx = 18

MEMX LLC Equities

§

Eprl = 19

MIAX Pearl Equities

§

Amxo = 20

NYSE American Options

§

Xbox = 21

BOX Options Exchange

§

Xcbo = 22

Cboe Options Exchange

§

Emld = 23

MIAX Emerald

§

Edgo = 24

Cboe EDGX Options Exchange

§

Gmni = 25

ISE Gemini Exchange

§

Xisx = 26

International Securities Exchange, LLC

§

Mcry = 27

ISE Mercury, LLC

§

Xmio = 28

Miami International Securities Exchange

§

Arco = 29

NYSE Arca Options

§

Opra = 30

Options Price Reporting Authority

§

Mprl = 31

MIAX Pearl

§

Xndq = 32

Nasdaq Options Market

§

Xbxo = 33

Nasdaq OMX BX Options

§

C2Ox = 34

Cboe C2 Options Exchange

§

Xphl = 35

Nasdaq OMX PHLX

§

Bato = 36

Cboe BZX Options Exchange

§

Mxop = 37

MEMX LLC Options

§

Ifeu = 38

ICE Futures Europe (Commodities)

§

Ndex = 39

ICE Endex

§

Dbeq = 40

Databento Equities - Consolidated

§

Sphr = 41

MIAX Sapphire

§

Ltse = 42

Long-Term Stock Exchange, Inc.

Implementations§

source§

impl Venue

source

pub const fn as_str(&self) -> &'static str

Convert a Venue to its str representation.

Trait Implementations§

source§

impl AsRef<str> for Venue

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Venue

source§

fn clone(&self) -> Venue

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Venue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Venue

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Venue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Venue> for u16

source§

fn from(enum_value: Venue) -> Self

Converts to this type from the input type.
source§

impl FromStr for Venue

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Venue

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Venue

source§

fn eq(&self, other: &Venue) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u16> for Venue

§

type Error = TryFromPrimitiveError<Venue>

The type returned in the event of a conversion error.
source§

fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
source§

impl TryFromPrimitive for Venue

§

type Primitive = u16

§

type Error = TryFromPrimitiveError<Venue>

source§

const NAME: &'static str = "Venue"

source§

fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>

source§

impl Copy for Venue

source§

impl Eq for Venue

source§

impl StructuralPartialEq for Venue

Auto Trait Implementations§

§

impl Freeze for Venue

§

impl RefUnwindSafe for Venue

§

impl Send for Venue

§

impl Sync for Venue

§

impl Unpin for Venue

§

impl UnwindSafe for Venue

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<T> Ungil for T
where T: Send,