pub struct GasSpendResponseBody {
pub currency: GasSpendCurrency,
pub value: String,
}Expand description
Aggregated Privy gas credits charged for a set of wallets over a time range.
JSON schema
{
"title": "GasSpendResponseBody",
"description": "Aggregated Privy gas credits charged for a set of
wallets over a time range.",
"examples": [
{
"currency": "usd",
"value": "12.345678"
}
],
"type": "object",
"required": [
"currency",
"value"
],
"properties": {
"currency": {
"allOf": [
{
"$ref": "#/components/schemas/GasSpendCurrency"
},
{
"description": "Currency represented by the value."
}
]
},
"value": {
"description": "Total Privy credits charged as a decimal string.",
"type": "string"
}
},
"x-stainless-model": "apps.gas_spend_response_body"
}Fields§
§currency: GasSpendCurrency§value: StringTotal Privy credits charged as a decimal string.
Trait Implementations§
Source§impl Clone for GasSpendResponseBody
impl Clone for GasSpendResponseBody
Source§fn clone(&self) -> GasSpendResponseBody
fn clone(&self) -> GasSpendResponseBody
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 GasSpendResponseBody
impl Debug for GasSpendResponseBody
Source§impl<'de> Deserialize<'de> for GasSpendResponseBody
impl<'de> Deserialize<'de> for GasSpendResponseBody
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<&GasSpendResponseBody> for GasSpendResponseBody
impl From<&GasSpendResponseBody> for GasSpendResponseBody
Source§fn from(value: &GasSpendResponseBody) -> Self
fn from(value: &GasSpendResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GasSpendResponseBody
impl RefUnwindSafe for GasSpendResponseBody
impl Send for GasSpendResponseBody
impl Sync for GasSpendResponseBody
impl Unpin for GasSpendResponseBody
impl UnsafeUnpin for GasSpendResponseBody
impl UnwindSafe for GasSpendResponseBody
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