pub enum ApprovalFeature {
Trading,
Perps,
Rewards,
AutoRedeem,
Unknown,
}Expand description
What a tracked approval unlocks.
Upstream’s values are lowercase and kebab-cased, unlike the UPPERCASE enums elsewhere in this API, so each variant renames explicitly.
Variants§
Trading
Order placement and settlement.
Perps
Perpetual futures.
Rewards
Liquidity reward accrual.
AutoRedeem
Automatic redemption of resolved positions.
Unknown
A feature this client does not recognize (forward-compat).
Trait Implementations§
Source§impl Clone for ApprovalFeature
impl Clone for ApprovalFeature
Source§fn clone(&self) -> ApprovalFeature
fn clone(&self) -> ApprovalFeature
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 ApprovalFeature
Source§impl Debug for ApprovalFeature
impl Debug for ApprovalFeature
Source§impl<'de> Deserialize<'de> for ApprovalFeature
impl<'de> Deserialize<'de> for ApprovalFeature
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
impl Eq for ApprovalFeature
Source§impl PartialEq for ApprovalFeature
impl PartialEq for ApprovalFeature
Source§impl Serialize for ApprovalFeature
impl Serialize for ApprovalFeature
impl StructuralPartialEq for ApprovalFeature
Auto Trait Implementations§
impl Freeze for ApprovalFeature
impl RefUnwindSafe for ApprovalFeature
impl Send for ApprovalFeature
impl Sync for ApprovalFeature
impl Unpin for ApprovalFeature
impl UnsafeUnpin for ApprovalFeature
impl UnwindSafe for ApprovalFeature
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