#[repr(i32)]pub enum TradingWithdrawAction {
ACTION_UNSPECIFIED = 0,
TO_FUNDING = 1,
TO_EXTERNAL_CHAIN = 2,
}Expand description
TradingWithdrawAction identifies where funds should move from Trading.
Variants§
Implementations§
Source§impl TradingWithdrawAction
impl TradingWithdrawAction
Sourcepub const ActionUnspecified: Self = Self::ACTION_UNSPECIFIED
pub const ActionUnspecified: Self = Self::ACTION_UNSPECIFIED
Idiomatic alias for Self::ACTION_UNSPECIFIED; Debug prints the variant name.
Sourcepub const ToFunding: Self = Self::TO_FUNDING
pub const ToFunding: Self = Self::TO_FUNDING
Idiomatic alias for Self::TO_FUNDING; Debug prints the variant name.
Sourcepub const ToExternalChain: Self = Self::TO_EXTERNAL_CHAIN
pub const ToExternalChain: Self = Self::TO_EXTERNAL_CHAIN
Idiomatic alias for Self::TO_EXTERNAL_CHAIN; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for TradingWithdrawAction
impl Clone for TradingWithdrawAction
Source§fn clone(&self) -> TradingWithdrawAction
fn clone(&self) -> TradingWithdrawAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TradingWithdrawAction
Source§impl Debug for TradingWithdrawAction
impl Debug for TradingWithdrawAction
Source§impl Default for TradingWithdrawAction
impl Default for TradingWithdrawAction
Source§impl<'de> Deserialize<'de> for TradingWithdrawAction
impl<'de> Deserialize<'de> for TradingWithdrawAction
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for TradingWithdrawAction
impl Enumeration for TradingWithdrawAction
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for TradingWithdrawAction
Source§impl Hash for TradingWithdrawAction
impl Hash for TradingWithdrawAction
Source§impl PartialEq for TradingWithdrawAction
impl PartialEq for TradingWithdrawAction
Source§impl ProtoElemJson for TradingWithdrawAction
impl ProtoElemJson for TradingWithdrawAction
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for TradingWithdrawAction
impl Serialize for TradingWithdrawAction
impl StructuralPartialEq for TradingWithdrawAction
Auto Trait Implementations§
impl Freeze for TradingWithdrawAction
impl RefUnwindSafe for TradingWithdrawAction
impl Send for TradingWithdrawAction
impl Sync for TradingWithdrawAction
impl Unpin for TradingWithdrawAction
impl UnsafeUnpin for TradingWithdrawAction
impl UnwindSafe for TradingWithdrawAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.