pub struct KrakenEmbedCurrentDayPnl {
pub pnl: KrakenEmbedCurrentDayPnlPnl,
pub since: DateTime<Utc>,
}Expand description
Current day profit and loss for a portfolio, calculated from the most recent available balance.
JSON schema
{
"title": "KrakenEmbedCurrentDayPnl",
"description": "Current day profit and loss for a portfolio, calculated
from the most recent available balance.",
"type": "object",
"required": [
"pnl",
"since"
],
"properties": {
"pnl": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"since": {
"type": "string",
"format": "date-time"
}
},
"x-stainless-model": "kraken_embed.kraken_embed_current_day_pnl"
}Fields§
§pnl: KrakenEmbedCurrentDayPnlPnl§since: DateTime<Utc>Trait Implementations§
Source§impl Clone for KrakenEmbedCurrentDayPnl
impl Clone for KrakenEmbedCurrentDayPnl
Source§fn clone(&self) -> KrakenEmbedCurrentDayPnl
fn clone(&self) -> KrakenEmbedCurrentDayPnl
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 Debug for KrakenEmbedCurrentDayPnl
impl Debug for KrakenEmbedCurrentDayPnl
Source§impl<'de> Deserialize<'de> for KrakenEmbedCurrentDayPnl
impl<'de> Deserialize<'de> for KrakenEmbedCurrentDayPnl
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<&KrakenEmbedCurrentDayPnl> for KrakenEmbedCurrentDayPnl
impl From<&KrakenEmbedCurrentDayPnl> for KrakenEmbedCurrentDayPnl
Source§fn from(value: &KrakenEmbedCurrentDayPnl) -> Self
fn from(value: &KrakenEmbedCurrentDayPnl) -> 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 KrakenEmbedCurrentDayPnl
impl RefUnwindSafe for KrakenEmbedCurrentDayPnl
impl Send for KrakenEmbedCurrentDayPnl
impl Sync for KrakenEmbedCurrentDayPnl
impl Unpin for KrakenEmbedCurrentDayPnl
impl UnsafeUnpin for KrakenEmbedCurrentDayPnl
impl UnwindSafe for KrakenEmbedCurrentDayPnl
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