#[non_exhaustive]pub enum SessionSignerScope {
Clob,
CombosRfq,
All,
Other(String),
}Expand description
A trading venue a session key may act on.
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.
Clob
The central limit order book ("CLOB").
CombosRfq
Combos RFQ trading ("COMBOSRFQ").
All
Every current and future venue ("ALL"). Must be requested alone.
Other(String)
A scope this crate does not know yet, kept verbatim.
Build scopes with Self::from_wire or std::str::FromStr::from_str,
not by constructing Other directly: Other("ALL") serialises like
Self::All but does not compare equal to it.
Implementations§
Trait Implementations§
Source§impl Clone for SessionSignerScope
impl Clone for SessionSignerScope
Source§impl Debug for SessionSignerScope
impl Debug for SessionSignerScope
Source§impl<'de> Deserialize<'de> for SessionSignerScope
impl<'de> Deserialize<'de> for SessionSignerScope
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
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 SessionSignerScope
impl Display for SessionSignerScope
impl Eq for SessionSignerScope
Source§impl FromStr for SessionSignerScope
impl FromStr for SessionSignerScope
Source§impl Hash for SessionSignerScope
impl Hash for SessionSignerScope
Source§impl PartialEq for SessionSignerScope
impl PartialEq for SessionSignerScope
Source§impl Serialize for SessionSignerScope
impl Serialize for SessionSignerScope
impl StructuralPartialEq for SessionSignerScope
Auto Trait Implementations§
impl Freeze for SessionSignerScope
impl RefUnwindSafe for SessionSignerScope
impl Send for SessionSignerScope
impl Sync for SessionSignerScope
impl Unpin for SessionSignerScope
impl UnsafeUnpin for SessionSignerScope
impl UnwindSafe for SessionSignerScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.