#[repr(u8)]pub enum SType {
Show 13 variants
InstrumentId = 0,
RawSymbol = 1,
Smart = 2,
Continuous = 3,
Parent = 4,
NasdaqSymbol = 5,
CmsSymbol = 6,
Isin = 7,
UsCode = 8,
BbgCompId = 9,
BbgCompTicker = 10,
Figi = 11,
FigiTicker = 12,
}Expand description
A symbology type. Refer to the symbology documentation for more information.
Variants§
InstrumentId = 0
Symbology using a unique numeric ID.
RawSymbol = 1
Symbology using the original symbols provided by the publisher.
Smart = 2
A set of Databento-specific symbologies for referring to groups of symbols.
Continuous = 3
A Databento-specific symbology where one symbol may point to different instruments at different points of time, e.g. to always refer to the front month future.
Parent = 4
A Databento-specific symbology for referring to a group of symbols by one “parent” symbol, e.g. ES.FUT to refer to all ES futures.
NasdaqSymbol = 5
Symbology for US equities using NASDAQ Integrated suffix conventions.
CmsSymbol = 6
Symbology for US equities using CMS suffix conventions.
Isin = 7
Symbology using International Security Identification Numbers (ISIN) - ISO 6166.
UsCode = 8
Symbology using US domestic Committee on Uniform Securities Identification Procedure (CUSIP) codes.
BbgCompId = 9
Symbology using Bloomberg composite global IDs.
BbgCompTicker = 10
Symbology using Bloomberg composite tickers.
Figi = 11
Symbology using Bloomberg FIGI exchange level IDs.
FigiTicker = 12
Symbology using Bloomberg exchange level tickers.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SType
Available on crate feature serde only.
impl<'de> Deserialize<'de> for SType
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl IntoEnumIterator for SType
impl IntoEnumIterator for SType
Source§impl<'py> IntoPyObject<'py> for SType
impl<'py> IntoPyObject<'py> for SType
Source§type Output = Bound<'py, <SType as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <SType as IntoPyObject<'py>>::Target>
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
Source§impl Ord for SType
impl Ord for SType
Source§impl PartialOrd for SType
impl PartialOrd for SType
Source§impl PyClassImpl for SType
impl PyClassImpl for SType
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
Source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
Source§const RAW_DOC: &'static CStr = /// A symbology type. Refer to the
/// [symbology documentation](https://databento.com/docs/api-reference-historical/basics/symbology)
/// for more information.
const RAW_DOC: &'static CStr = /// A symbology type. Refer to the /// [symbology documentation](https://databento.com/docs/api-reference-historical/basics/symbology) /// for more information.
Source§const DOC: &'static CStr
const DOC: &'static CStr
text_signature if a constructor is defined. Read moreSource§type ThreadChecker = SendablePyClass<SType>
type ThreadChecker = SendablePyClass<SType>
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
Source§impl PyClassNewTextSignature for SType
Available on crate feature python only.
impl PyClassNewTextSignature for SType
python only.const TEXT_SIGNATURE: &'static str = "(value)"
Source§impl PyClass__eq__SlotFragment<SType> for PyClassImplCollector<SType>
Available on crate feature python only.
impl PyClass__eq__SlotFragment<SType> for PyClassImplCollector<SType>
python only.Source§impl PyMethods<SType> for PyClassImplCollector<SType>
Available on crate feature python only.
impl PyMethods<SType> for PyClassImplCollector<SType>
python only.fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for SType
impl PyTypeInfo for SType
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Source§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Source§impl TryFromPrimitive for SType
impl TryFromPrimitive for SType
impl Copy for SType
impl Eq for SType
impl StructuralPartialEq for SType
Auto Trait Implementations§
impl Freeze for SType
impl RefUnwindSafe for SType
impl Send for SType
impl Sync for SType
impl Unpin for SType
impl UnwindSafe for SType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromPyObject<'_> for T
impl<T> FromPyObject<'_> for T
Source§impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
self into an owned Python object, dropping type information.