pub struct QuoteResponse {
pub created_at: EpochSecs,
pub quote_id: String,
pub tiers: HashMap<String, TierPrices>,
pub valid_until: EpochSecs,
}Expand description
A pricing quote response containing subscription tiers and pricing information.
JSON schema
{
"description": "A pricing quote response containing subscription tiers and pricing information.",
"type": "object",
"required": [
"created_at",
"quote_id",
"tiers",
"valid_until"
],
"properties": {
"created_at": {
"$ref": "#/components/schemas/EpochSecs"
},
"quote_id": {
"type": "string"
},
"tiers": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TierPrices"
}
},
"valid_until": {
"$ref": "#/components/schemas/EpochSecs"
}
}
}Fields§
§created_at: EpochSecs§quote_id: String§tiers: HashMap<String, TierPrices>§valid_until: EpochSecsTrait Implementations§
Source§impl Clone for QuoteResponse
impl Clone for QuoteResponse
Source§fn clone(&self) -> QuoteResponse
fn clone(&self) -> QuoteResponse
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 Debug for QuoteResponse
impl Debug for QuoteResponse
Source§impl<'de> Deserialize<'de> for QuoteResponse
impl<'de> Deserialize<'de> for QuoteResponse
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
Auto Trait Implementations§
impl Freeze for QuoteResponse
impl RefUnwindSafe for QuoteResponse
impl Send for QuoteResponse
impl Sync for QuoteResponse
impl Unpin for QuoteResponse
impl UnsafeUnpin for QuoteResponse
impl UnwindSafe for QuoteResponse
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