Enum serum_dex::instruction::SelfTradeBehavior [−][src]
#[repr(u8)] pub enum SelfTradeBehavior { DecrementTake, CancelProvide, AbortTransaction, }
Variants
Trait Implementations
impl Clone for SelfTradeBehavior
[src]
impl Clone for SelfTradeBehavior
[src]fn clone(&self) -> SelfTradeBehavior
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SelfTradeBehavior
[src]
impl Copy for SelfTradeBehavior
[src]impl<'de> Deserialize<'de> for SelfTradeBehavior
[src]
impl<'de> Deserialize<'de> for SelfTradeBehavior
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for SelfTradeBehavior
[src]
impl Eq for SelfTradeBehavior
[src]impl PartialEq<SelfTradeBehavior> for SelfTradeBehavior
[src]
impl PartialEq<SelfTradeBehavior> for SelfTradeBehavior
[src]impl Serialize for SelfTradeBehavior
[src]
impl Serialize for SelfTradeBehavior
[src]impl StructuralEq for SelfTradeBehavior
[src]
impl StructuralEq for SelfTradeBehavior
[src]impl TryFrom<u8> for SelfTradeBehavior
[src]
impl TryFrom<u8> for SelfTradeBehavior
[src]type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for SelfTradeBehavior
[src]
impl TryFromPrimitive for SelfTradeBehavior
[src]type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for SelfTradeBehavior
impl RefUnwindSafe for SelfTradeBehavior
impl Send for SelfTradeBehavior
impl Send for SelfTradeBehavior
impl Sync for SelfTradeBehavior
impl Sync for SelfTradeBehavior
impl Unpin for SelfTradeBehavior
impl Unpin for SelfTradeBehavior
impl UnwindSafe for SelfTradeBehavior
impl UnwindSafe for SelfTradeBehavior
Blanket Implementations
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,