pub enum Symbols {
All,
Ids(Vec<u32>),
Symbols(Vec<String>),
}Expand description
A set of symbols for a particular SType.
Variants§
All
Sentinel value for all symbols in a dataset.
Ids(Vec<u32>)
A set of symbols identified by their instrument IDs.
Symbols(Vec<String>)
A set of symbols.
Implementations§
Source§impl Symbols
impl Symbols
Sourcepub fn to_api_string(&self) -> String
pub fn to_api_string(&self) -> String
Returns the string representation for sending to the API.
Sourcepub fn to_chunked_api_string(&self) -> Vec<String>
Available on crate feature live only.
pub fn to_chunked_api_string(&self) -> Vec<String>
live only.Splits the symbol into chunks to stay within the message length requirements of the live gateway.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Symbols
Available on crate feature historical only.
impl<'de> Deserialize<'de> for Symbols
Available on crate feature
historical only.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 Symbols
impl StructuralPartialEq for Symbols
Auto Trait Implementations§
impl Freeze for Symbols
impl RefUnwindSafe for Symbols
impl Send for Symbols
impl Sync for Symbols
impl Unpin for Symbols
impl UnsafeUnpin for Symbols
impl UnwindSafe for Symbols
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