pub struct GasSpendRequestBody {
pub end_timestamp: f64,
pub start_timestamp: f64,
pub wallet_ids: Vec<String>,
}Expand description
Query parameters for getting gas spend for a set of wallets. The time
range from start_timestamp to end_timestamp must not exceed 30 days.
JSON schema
{
"title": "GasSpendRequestBody",
"description": "Query parameters for getting gas spend for a set of
wallets. The time range from `start_timestamp` to `end_timestamp` must
not exceed 30 days.",
"examples": [
{
"end_timestamp": 1700086400000,
"start_timestamp": 1700000000000,
"wallet_ids": [
"fmfdj6yqly31huorjqzq38zc"
]
}
],
"type": "object",
"required": [
"end_timestamp",
"start_timestamp",
"wallet_ids"
],
"properties": {
"end_timestamp": {
"description": "Unix timestamp in milliseconds, exclusive. Must be
greater than or equal to `start_timestamp`, and the range from
`start_timestamp` to `end_timestamp` must not exceed 30 days.",
"type": "number"
},
"start_timestamp": {
"description": "Unix timestamp in milliseconds, inclusive. Must be
less than or equal to `end_timestamp`, and the range from
`start_timestamp` to `end_timestamp` must not exceed 30 days.",
"type": "number"
},
"wallet_ids": {
"description": "List of wallet IDs to query gas spend for. Maximum
100.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"minItems": 1
}
},
"x-stainless-model": "apps.gas_spend_request_body"
}Fields§
§end_timestamp: f64§start_timestamp: f64§wallet_ids: Vec<String>List of wallet IDs to query gas spend for. Maximum 100.
Trait Implementations§
Source§impl Clone for GasSpendRequestBody
impl Clone for GasSpendRequestBody
Source§fn clone(&self) -> GasSpendRequestBody
fn clone(&self) -> GasSpendRequestBody
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 GasSpendRequestBody
impl Debug for GasSpendRequestBody
Source§impl<'de> Deserialize<'de> for GasSpendRequestBody
impl<'de> Deserialize<'de> for GasSpendRequestBody
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<&GasSpendRequestBody> for GasSpendRequestBody
impl From<&GasSpendRequestBody> for GasSpendRequestBody
Source§fn from(value: &GasSpendRequestBody) -> Self
fn from(value: &GasSpendRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GasSpendRequestBody
impl RefUnwindSafe for GasSpendRequestBody
impl Send for GasSpendRequestBody
impl Sync for GasSpendRequestBody
impl Unpin for GasSpendRequestBody
impl UnsafeUnpin for GasSpendRequestBody
impl UnwindSafe for GasSpendRequestBody
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