pub struct KrakenEmbedGetPortfolioTransactionsQueryParamsSchema {
pub assets: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaAssetsItem>,
pub cursor: Option<String>,
pub from_time: Option<DateTime<Utc>>,
pub ids: Vec<String>,
pub page_size: Option<NonZero<u64>>,
pub quote: Option<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaQuote>,
pub ref_ids: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaRefIdsItem>,
pub sorting: Option<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaSorting>,
pub statuses: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaStatusesItem>,
pub types: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaTypesItem>,
pub until_time: Option<DateTime<Utc>>,
}Expand description
Query parameters for filtering and paginating portfolio transactions.
JSON schema
{
"description": "Query parameters for filtering and paginating portfolio
transactions.",
"examples": [
{
"page_size": 20,
"sorting": "descending",
"statuses": [
"successful"
]
}
],
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 16
}
},
"cursor": {
"type": "string"
},
"from_time": {
"type": "string",
"format": "date-time"
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"page_size": {
"type": "integer",
"maximum": 25.0,
"minimum": 1.0
},
"quote": {
"type": "string",
"maxLength": 16
},
"ref_ids": {
"type": "array",
"items": {
"type": "object",
"required": [
"ref_id",
"type"
],
"properties": {
"ref_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"simple_order_quote"
]
}
}
}
},
"sorting": {
"type": "string",
"enum": [
"ascending",
"descending"
]
},
"statuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"failed",
"in_progress",
"successful",
"unspecified"
]
}
},
"types": {
"type": "array",
"items": {
"type": "string",
"enum": [
"earn_reward",
"simple_order",
"simple_order_failed"
]
}
},
"until_time": {
"type": "string",
"format": "date-time"
}
}
}Fields§
§assets: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaAssetsItem>§cursor: Option<String>§from_time: Option<DateTime<Utc>>§ids: Vec<String>§page_size: Option<NonZero<u64>>§quote: Option<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaQuote>§ref_ids: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaRefIdsItem>§sorting: Option<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaSorting>§statuses: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaStatusesItem>§types: Vec<KrakenEmbedGetPortfolioTransactionsQueryParamsSchemaTypesItem>§until_time: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Clone for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Source§fn clone(&self) -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
fn clone(&self) -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Default for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Source§fn default() -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
fn default() -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl<'de> Deserialize<'de> for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<KrakenEmbedGetPortfolioTransactionsQueryParamsSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<KrakenEmbedGetPortfolioTransactionsQueryParamsSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&KrakenEmbedGetPortfolioTransactionsQueryParamsSchema> for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl From<&KrakenEmbedGetPortfolioTransactionsQueryParamsSchema> for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Source§fn from(
value: &KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
) -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
fn from( value: &KrakenEmbedGetPortfolioTransactionsQueryParamsSchema, ) -> KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Converts to this type from the input type.
Source§impl Serialize for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Serialize for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl RefUnwindSafe for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Send for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Sync for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl Unpin for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
impl UnwindSafe for KrakenEmbedGetPortfolioTransactionsQueryParamsSchema
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