pub struct PlanResponse {
pub description: Option<Value>,
pub is_default_for_personal: bool,
pub is_published: bool,
pub name: Value,
pub quotas: Vec<PlanQuotaResponse>,
pub slug: String,
pub sort_order: i32,
}Expand description
PlanResponse
JSON schema
{
"type": "object",
"required": [
"is_default_for_personal",
"is_published",
"name",
"quotas",
"slug",
"sort_order"
],
"properties": {
"description": {},
"is_default_for_personal": {
"type": "boolean"
},
"is_published": {
"type": "boolean"
},
"name": {},
"quotas": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlanQuotaResponse"
}
},
"slug": {
"type": "string"
},
"sort_order": {
"type": "integer",
"format": "int32"
}
}
}Fields§
§description: Option<Value>§is_default_for_personal: bool§is_published: bool§name: Value§quotas: Vec<PlanQuotaResponse>§slug: String§sort_order: i32Trait Implementations§
Source§impl Clone for PlanResponse
impl Clone for PlanResponse
Source§fn clone(&self) -> PlanResponse
fn clone(&self) -> PlanResponse
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 PlanResponse
impl Debug for PlanResponse
Source§impl<'de> Deserialize<'de> for PlanResponse
impl<'de> Deserialize<'de> for PlanResponse
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 PlanResponse
impl RefUnwindSafe for PlanResponse
impl Send for PlanResponse
impl Sync for PlanResponse
impl Unpin for PlanResponse
impl UnsafeUnpin for PlanResponse
impl UnwindSafe for PlanResponse
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