pub enum WalletActionType {
EarnDeposit,
EarnIncentiveClaim,
EarnWithdraw,
Swap,
Transfer,
}Expand description
Type of wallet action
JSON schema
{
"title": "WalletActionType",
"description": "Type of wallet action",
"type": "string",
"enum": [
"earn_deposit",
"earn_incentive_claim",
"earn_withdraw",
"swap",
"transfer"
],
"x-stainless-model": "wallet_actions.wallet_action_type"
}Variants§
Trait Implementations§
Source§impl Clone for WalletActionType
impl Clone for WalletActionType
Source§fn clone(&self) -> WalletActionType
fn clone(&self) -> WalletActionType
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 WalletActionType
Source§impl Debug for WalletActionType
impl Debug for WalletActionType
Source§impl<'de> Deserialize<'de> for WalletActionType
impl<'de> Deserialize<'de> for WalletActionType
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 Display for WalletActionType
impl Display for WalletActionType
impl Eq for WalletActionType
Source§impl From<&WalletActionType> for WalletActionType
impl From<&WalletActionType> for WalletActionType
Source§fn from(value: &WalletActionType) -> Self
fn from(value: &WalletActionType) -> Self
Converts to this type from the input type.
Source§impl FromStr for WalletActionType
impl FromStr for WalletActionType
Source§impl Hash for WalletActionType
impl Hash for WalletActionType
Source§impl Ord for WalletActionType
impl Ord for WalletActionType
Source§fn cmp(&self, other: &WalletActionType) -> Ordering
fn cmp(&self, other: &WalletActionType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WalletActionType
impl PartialEq for WalletActionType
Source§fn eq(&self, other: &WalletActionType) -> bool
fn eq(&self, other: &WalletActionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WalletActionType
impl PartialOrd for WalletActionType
Source§impl Serialize for WalletActionType
impl Serialize for WalletActionType
impl StructuralPartialEq for WalletActionType
Source§impl TryFrom<&String> for WalletActionType
impl TryFrom<&String> for WalletActionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for WalletActionType
impl TryFrom<&str> for WalletActionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for WalletActionType
impl TryFrom<String> for WalletActionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WalletActionType
impl RefUnwindSafe for WalletActionType
impl Send for WalletActionType
impl Sync for WalletActionType
impl Unpin for WalletActionType
impl UnsafeUnpin for WalletActionType
impl UnwindSafe for WalletActionType
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