Enum dbn::enums::UserDefinedInstrument
source · #[repr(u8)]pub enum UserDefinedInstrument {
No = 78,
Yes = 89,
}Expand description
Whether the instrument is user-defined.
Variants§
Trait Implementations§
source§impl Clone for UserDefinedInstrument
impl Clone for UserDefinedInstrument
source§fn clone(&self) -> UserDefinedInstrument
fn clone(&self) -> UserDefinedInstrument
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 UserDefinedInstrument
impl Debug for UserDefinedInstrument
source§impl Default for UserDefinedInstrument
impl Default for UserDefinedInstrument
source§fn default() -> UserDefinedInstrument
fn default() -> UserDefinedInstrument
Returns the “default value” for a type. Read more
source§impl From<UserDefinedInstrument> for char
impl From<UserDefinedInstrument> for char
source§fn from(user_defined_instrument: UserDefinedInstrument) -> Self
fn from(user_defined_instrument: UserDefinedInstrument) -> Self
Converts to this type from the input type.
source§impl From<UserDefinedInstrument> for u8
impl From<UserDefinedInstrument> for u8
source§fn from(enum_value: UserDefinedInstrument) -> Self
fn from(enum_value: UserDefinedInstrument) -> Self
Converts to this type from the input type.
source§impl<'source> FromPyObject<'source> for UserDefinedInstrument
Available on crate feature python only.
impl<'source> FromPyObject<'source> for UserDefinedInstrument
Available on crate feature
python only.source§impl Hash for UserDefinedInstrument
impl Hash for UserDefinedInstrument
source§impl PartialEq for UserDefinedInstrument
impl PartialEq for UserDefinedInstrument
source§fn eq(&self, other: &UserDefinedInstrument) -> bool
fn eq(&self, other: &UserDefinedInstrument) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for UserDefinedInstrument
impl TryFrom<u8> for UserDefinedInstrument
§type Error = TryFromPrimitiveError<UserDefinedInstrument>
type Error = TryFromPrimitiveError<UserDefinedInstrument>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for UserDefinedInstrument
impl TryFromPrimitive for UserDefinedInstrument
type Primitive = u8
type Error = TryFromPrimitiveError<UserDefinedInstrument>
const NAME: &'static str = "UserDefinedInstrument"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UserDefinedInstrument
impl Eq for UserDefinedInstrument
impl StructuralEq for UserDefinedInstrument
impl StructuralPartialEq for UserDefinedInstrument
Auto Trait Implementations§
impl RefUnwindSafe for UserDefinedInstrument
impl Send for UserDefinedInstrument
impl Sync for UserDefinedInstrument
impl Unpin for UserDefinedInstrument
impl UnwindSafe for UserDefinedInstrument
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