Enum dbn::enums::SecurityUpdateAction
source · #[repr(u8)]pub enum SecurityUpdateAction {
Add = 65,
Modify = 77,
Delete = 68,
// some variants omitted
}
Expand description
The type of InstrumentDefMsg
update.
Variants§
Add = 65
A new instrument definition.
Modify = 77
A modified instrument definition of an existing one.
Delete = 68
Removal of an instrument definition.
Trait Implementations§
source§impl AsRef<str> for SecurityUpdateAction
impl AsRef<str> for SecurityUpdateAction
source§impl Clone for SecurityUpdateAction
impl Clone for SecurityUpdateAction
source§fn clone(&self) -> SecurityUpdateAction
fn clone(&self) -> SecurityUpdateAction
Returns a copy of the value. Read more
1.0.0 · 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 SecurityUpdateAction
impl Debug for SecurityUpdateAction
source§impl<'de> Deserialize<'de> for SecurityUpdateAction
impl<'de> Deserialize<'de> for SecurityUpdateAction
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 From<SecurityUpdateAction> for u8
impl From<SecurityUpdateAction> for u8
source§fn from(enum_value: SecurityUpdateAction) -> Self
fn from(enum_value: SecurityUpdateAction) -> Self
Converts to this type from the input type.
source§impl Hash for SecurityUpdateAction
impl Hash for SecurityUpdateAction
source§impl IntoEnumIterator for SecurityUpdateAction
impl IntoEnumIterator for SecurityUpdateAction
type Iterator = SecurityUpdateActionIter
fn iter() -> SecurityUpdateActionIter ⓘ
source§impl PartialEq for SecurityUpdateAction
impl PartialEq for SecurityUpdateAction
source§fn eq(&self, other: &SecurityUpdateAction) -> bool
fn eq(&self, other: &SecurityUpdateAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PyClass for SecurityUpdateAction
impl PyClass for SecurityUpdateAction
source§impl PyClassImpl for SecurityUpdateAction
impl PyClassImpl for SecurityUpdateAction
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type ThreadChecker = SendablePyClass<SecurityUpdateAction>
type ThreadChecker = SendablePyClass<SecurityUpdateAction>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
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<SecurityUpdateAction> for PyClassImplCollector<SecurityUpdateAction>
Available on crate feature python
only.
impl PyClassNewTextSignature<SecurityUpdateAction> for PyClassImplCollector<SecurityUpdateAction>
Available on crate feature
python
only.fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SecurityUpdateAction
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SecurityUpdateAction
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SecurityUpdateAction
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SecurityUpdateAction
source§impl PyMethods<SecurityUpdateAction> for PyClassImplCollector<SecurityUpdateAction>
Available on crate feature python
only.
impl PyMethods<SecurityUpdateAction> for PyClassImplCollector<SecurityUpdateAction>
Available on crate feature
python
only.fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SecurityUpdateAction
impl PyTypeInfo for SecurityUpdateAction
§type AsRefTarget = PyCell<SecurityUpdateAction>
type AsRefTarget = PyCell<SecurityUpdateAction>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
source§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.source§impl Serialize for SecurityUpdateAction
impl Serialize for SecurityUpdateAction
source§impl TryFrom<u8> for SecurityUpdateAction
impl TryFrom<u8> for SecurityUpdateAction
§type Error = TryFromPrimitiveError<SecurityUpdateAction>
type Error = TryFromPrimitiveError<SecurityUpdateAction>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SecurityUpdateAction
impl TryFromPrimitive for SecurityUpdateAction
type Primitive = u8
type Error = TryFromPrimitiveError<SecurityUpdateAction>
const NAME: &'static str = "SecurityUpdateAction"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SecurityUpdateAction
impl Eq for SecurityUpdateAction
impl StructuralPartialEq for SecurityUpdateAction
Auto Trait Implementations§
impl Freeze for SecurityUpdateAction
impl RefUnwindSafe for SecurityUpdateAction
impl Send for SecurityUpdateAction
impl Sync for SecurityUpdateAction
impl Unpin for SecurityUpdateAction
impl UnwindSafe for SecurityUpdateAction
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