pub enum GetMasterAccountPortfolioTransactionsTypesItem {
EarnReward,
SimpleOrder,
SimpleOrderFailed,
}Expand description
GetMasterAccountPortfolioTransactionsTypesItem
JSON schema
{
"type": "string",
"enum": [
"earn_reward",
"simple_order",
"simple_order_failed"
]
}Variants§
Trait Implementations§
Source§impl Clone for GetMasterAccountPortfolioTransactionsTypesItem
impl Clone for GetMasterAccountPortfolioTransactionsTypesItem
Source§fn clone(&self) -> GetMasterAccountPortfolioTransactionsTypesItem
fn clone(&self) -> GetMasterAccountPortfolioTransactionsTypesItem
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 GetMasterAccountPortfolioTransactionsTypesItem
Source§impl<'de> Deserialize<'de> for GetMasterAccountPortfolioTransactionsTypesItem
impl<'de> Deserialize<'de> for GetMasterAccountPortfolioTransactionsTypesItem
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 GetMasterAccountPortfolioTransactionsTypesItem
Source§impl From<&GetMasterAccountPortfolioTransactionsTypesItem> for GetMasterAccountPortfolioTransactionsTypesItem
impl From<&GetMasterAccountPortfolioTransactionsTypesItem> for GetMasterAccountPortfolioTransactionsTypesItem
Source§fn from(value: &GetMasterAccountPortfolioTransactionsTypesItem) -> Self
fn from(value: &GetMasterAccountPortfolioTransactionsTypesItem) -> Self
Converts to this type from the input type.
Source§impl Ord for GetMasterAccountPortfolioTransactionsTypesItem
impl Ord for GetMasterAccountPortfolioTransactionsTypesItem
Source§fn cmp(
&self,
other: &GetMasterAccountPortfolioTransactionsTypesItem,
) -> Ordering
fn cmp( &self, other: &GetMasterAccountPortfolioTransactionsTypesItem, ) -> 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 GetMasterAccountPortfolioTransactionsTypesItem
impl PartialEq for GetMasterAccountPortfolioTransactionsTypesItem
Source§fn eq(&self, other: &GetMasterAccountPortfolioTransactionsTypesItem) -> bool
fn eq(&self, other: &GetMasterAccountPortfolioTransactionsTypesItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GetMasterAccountPortfolioTransactionsTypesItem
impl PartialOrd for GetMasterAccountPortfolioTransactionsTypesItem
Source§fn partial_cmp(
&self,
other: &GetMasterAccountPortfolioTransactionsTypesItem,
) -> Option<Ordering>
fn partial_cmp( &self, other: &GetMasterAccountPortfolioTransactionsTypesItem, ) -> Option<Ordering>
impl StructuralPartialEq for GetMasterAccountPortfolioTransactionsTypesItem
Source§impl TryFrom<&String> for GetMasterAccountPortfolioTransactionsTypesItem
impl TryFrom<&String> for GetMasterAccountPortfolioTransactionsTypesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for GetMasterAccountPortfolioTransactionsTypesItem
impl TryFrom<&str> for GetMasterAccountPortfolioTransactionsTypesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for GetMasterAccountPortfolioTransactionsTypesItem
impl TryFrom<String> for GetMasterAccountPortfolioTransactionsTypesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for GetMasterAccountPortfolioTransactionsTypesItem
impl RefUnwindSafe for GetMasterAccountPortfolioTransactionsTypesItem
impl Send for GetMasterAccountPortfolioTransactionsTypesItem
impl Sync for GetMasterAccountPortfolioTransactionsTypesItem
impl Unpin for GetMasterAccountPortfolioTransactionsTypesItem
impl UnsafeUnpin for GetMasterAccountPortfolioTransactionsTypesItem
impl UnwindSafe for GetMasterAccountPortfolioTransactionsTypesItem
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