pub enum DerivativeRedemptionType {
QuoteOnly,
PositionAndQuote,
}Variants§
Trait Implementations§
source§impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitAnd<O> for DerivativeRedemptionType
impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitAnd<O> for DerivativeRedemptionType
source§impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitOr<O> for DerivativeRedemptionType
impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitOr<O> for DerivativeRedemptionType
source§impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitXor<O> for DerivativeRedemptionType
impl<O: Into<EnumSet<DerivativeRedemptionType>>> BitXor<O> for DerivativeRedemptionType
source§impl Clone for DerivativeRedemptionType
impl Clone for DerivativeRedemptionType
source§impl Debug for DerivativeRedemptionType
impl Debug for DerivativeRedemptionType
source§impl<'de> Deserialize<'de> for DerivativeRedemptionType
impl<'de> Deserialize<'de> for DerivativeRedemptionType
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 EnumSetTypePrivate for DerivativeRedemptionType
impl EnumSetTypePrivate for DerivativeRedemptionType
source§const ALL_BITS: Self::Repr = {transmute(0x03): <vault::DerivativeRedemptionType as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x03): <vault::DerivativeRedemptionType as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§const VARIANT_COUNT: u32 = 2u32
const VARIANT_COUNT: u32 = 2u32
The number of variants in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§fn serialize<S: Serializer>(
set: EnumSet<DerivativeRedemptionType>,
ser: S,
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>( set: EnumSet<DerivativeRedemptionType>, ser: S, ) -> Result<S::Ok, S::Error>
Serializes the
EnumSet. Read moresource§fn deserialize<'de, D: Deserializer<'de>>(
de: D,
) -> Result<EnumSet<DerivativeRedemptionType>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>( de: D, ) -> Result<EnumSet<DerivativeRedemptionType>, D::Error>
Deserializes the
EnumSet.source§impl JsonSchema for DerivativeRedemptionType
impl JsonSchema for DerivativeRedemptionType
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl Not for DerivativeRedemptionType
impl Not for DerivativeRedemptionType
source§impl PartialEq<EnumSet<DerivativeRedemptionType>> for DerivativeRedemptionType
impl PartialEq<EnumSet<DerivativeRedemptionType>> for DerivativeRedemptionType
source§impl PartialEq for DerivativeRedemptionType
impl PartialEq for DerivativeRedemptionType
source§impl Serialize for DerivativeRedemptionType
impl Serialize for DerivativeRedemptionType
source§impl<O: Into<EnumSet<DerivativeRedemptionType>>> Sub<O> for DerivativeRedemptionType
impl<O: Into<EnumSet<DerivativeRedemptionType>>> Sub<O> for DerivativeRedemptionType
impl Copy for DerivativeRedemptionType
impl EnumSetType for DerivativeRedemptionType
impl Eq for DerivativeRedemptionType
Auto Trait Implementations§
impl Freeze for DerivativeRedemptionType
impl RefUnwindSafe for DerivativeRedemptionType
impl Send for DerivativeRedemptionType
impl Sync for DerivativeRedemptionType
impl Unpin for DerivativeRedemptionType
impl UnwindSafe for DerivativeRedemptionType
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)