pub enum KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl {
Variant0(KrakenEmbedCurrentDayPnl),
Variant1(String),
Variant2(String),
}Expand description
KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/KrakenEmbedCurrentDayPnl"
},
{
"type": "string"
},
{
"type": "string"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl Clone for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
Source§fn clone(&self) -> KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
fn clone(&self) -> KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
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 moreSource§impl<'de> Deserialize<'de> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl<'de> Deserialize<'de> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
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 From<&KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl From<&KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
Source§fn from(
value: &KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl,
) -> Self
fn from( value: &KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl, ) -> Self
Converts to this type from the input type.
Source§impl From<KrakenEmbedCurrentDayPnl> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl From<KrakenEmbedCurrentDayPnl> for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
Source§fn from(value: KrakenEmbedCurrentDayPnl) -> Self
fn from(value: KrakenEmbedCurrentDayPnl) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl RefUnwindSafe for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl Send for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl Sync for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl Unpin for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl UnsafeUnpin for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
impl UnwindSafe for KrakenEmbedGetPortfolioSummaryResponseDataResultCurrentDayPnl
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