pub struct PredictionWalletPnlParams {
pub condition_id: Option<String>,
pub cursor: Option<String>,
pub limit: Option<i64>,
pub order: Option<PredictionWalletPnlOrder>,
pub sort_by: Option<PredictionWalletPnlSortBy>,
pub token_id: Option<String>,
pub tag: Option<String>,
}Expand description
PredictionWalletPnlParams
JSON schema
{
"type": "object",
"properties": {
"condition_id": {
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"type": "integer",
"format": "int64"
},
"order": {
"$ref": "#/components/schemas/PredictionWalletPnlOrder"
},
"sort_by": {
"$ref": "#/components/schemas/PredictionWalletPnlSortBy"
},
"token_id": {
"type": "string"
},
"tag": {
"type": "string"
}
}
}Fields§
§condition_id: Option<String>§cursor: Option<String>§limit: Option<i64>§order: Option<PredictionWalletPnlOrder>§sort_by: Option<PredictionWalletPnlSortBy>§token_id: Option<String>§tag: Option<String>Implementations§
Source§impl PredictionWalletPnlParams
impl PredictionWalletPnlParams
pub fn builder() -> PredictionWalletPnlParams
Trait Implementations§
Source§impl Clone for PredictionWalletPnlParams
impl Clone for PredictionWalletPnlParams
Source§fn clone(&self) -> PredictionWalletPnlParams
fn clone(&self) -> PredictionWalletPnlParams
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 PredictionWalletPnlParams
impl Debug for PredictionWalletPnlParams
Source§impl Default for PredictionWalletPnlParams
impl Default for PredictionWalletPnlParams
Source§impl<'de> Deserialize<'de> for PredictionWalletPnlParams
impl<'de> Deserialize<'de> for PredictionWalletPnlParams
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<&PredictionWalletPnlParams> for PredictionWalletPnlParams
impl From<&PredictionWalletPnlParams> for PredictionWalletPnlParams
Source§fn from(value: &PredictionWalletPnlParams) -> Self
fn from(value: &PredictionWalletPnlParams) -> Self
Converts to this type from the input type.
Source§impl From<PredictionWalletPnlParams> for PredictionWalletPnlParams
impl From<PredictionWalletPnlParams> for PredictionWalletPnlParams
Source§fn from(value: PredictionWalletPnlParams) -> Self
fn from(value: PredictionWalletPnlParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PredictionWalletPnlParams> for PredictionWalletPnlParams
impl TryFrom<PredictionWalletPnlParams> for PredictionWalletPnlParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PredictionWalletPnlParams) -> Result<Self, ConversionError>
fn try_from(value: PredictionWalletPnlParams) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PredictionWalletPnlParams
impl RefUnwindSafe for PredictionWalletPnlParams
impl Send for PredictionWalletPnlParams
impl Sync for PredictionWalletPnlParams
impl Unpin for PredictionWalletPnlParams
impl UnsafeUnpin for PredictionWalletPnlParams
impl UnwindSafe for PredictionWalletPnlParams
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