pub struct PlanResponseModel {Show 41 fields
pub object: Option<String>,
pub type: Option<PlanType>,
pub product: Option<ProductType>,
pub name: Option<String>,
pub is_annual: Option<bool>,
pub name_localization_key: Option<String>,
pub description_localization_key: Option<String>,
pub can_be_used_by_business: Option<bool>,
pub base_seats: Option<i32>,
pub base_storage_gb: Option<i32>,
pub max_collections: Option<i32>,
pub max_users: Option<i32>,
pub has_additional_seats_option: Option<bool>,
pub max_additional_seats: Option<i32>,
pub has_additional_storage_option: Option<bool>,
pub max_additional_storage: Option<i32>,
pub has_premium_access_option: Option<bool>,
pub trial_period_days: Option<i32>,
pub has_self_host: Option<bool>,
pub has_policies: Option<bool>,
pub has_groups: Option<bool>,
pub has_directory: Option<bool>,
pub has_events: Option<bool>,
pub has_totp: Option<bool>,
pub has2fa: Option<bool>,
pub has_api: Option<bool>,
pub has_sso: Option<bool>,
pub has_reset_password: Option<bool>,
pub users_get_premium: Option<bool>,
pub upgrade_sort_order: Option<i32>,
pub display_sort_order: Option<i32>,
pub legacy_year: Option<i32>,
pub disabled: Option<bool>,
pub stripe_plan_id: Option<String>,
pub stripe_seat_plan_id: Option<String>,
pub stripe_storage_plan_id: Option<String>,
pub stripe_premium_access_plan_id: Option<String>,
pub base_price: Option<f64>,
pub seat_price: Option<f64>,
pub additional_storage_price_per_gb: Option<f64>,
pub premium_access_option_price: Option<f64>,
}
Fields§
§object: Option<String>
§type: Option<PlanType>
§product: Option<ProductType>
§name: Option<String>
§is_annual: Option<bool>
§name_localization_key: Option<String>
§description_localization_key: Option<String>
§can_be_used_by_business: Option<bool>
§base_seats: Option<i32>
§base_storage_gb: Option<i32>
§max_collections: Option<i32>
§max_users: Option<i32>
§has_additional_seats_option: Option<bool>
§max_additional_seats: Option<i32>
§has_additional_storage_option: Option<bool>
§max_additional_storage: Option<i32>
§trial_period_days: Option<i32>
§has_self_host: Option<bool>
§has_policies: Option<bool>
§has_groups: Option<bool>
§has_directory: Option<bool>
§has_events: Option<bool>
§has_totp: Option<bool>
§has2fa: Option<bool>
§has_api: Option<bool>
§has_sso: Option<bool>
§has_reset_password: Option<bool>
§upgrade_sort_order: Option<i32>
§display_sort_order: Option<i32>
§legacy_year: Option<i32>
§disabled: Option<bool>
§stripe_plan_id: Option<String>
§stripe_seat_plan_id: Option<String>
§stripe_storage_plan_id: Option<String>
§base_price: Option<f64>
§seat_price: Option<f64>
§additional_storage_price_per_gb: Option<f64>
Implementations§
source§impl PlanResponseModel
impl PlanResponseModel
pub fn new() -> PlanResponseModel
Trait Implementations§
source§impl Clone for PlanResponseModel
impl Clone for PlanResponseModel
source§fn clone(&self) -> PlanResponseModel
fn clone(&self) -> PlanResponseModel
Returns a copy 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 PlanResponseModel
impl Debug for PlanResponseModel
source§impl Default for PlanResponseModel
impl Default for PlanResponseModel
source§fn default() -> PlanResponseModel
fn default() -> PlanResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlanResponseModel
impl<'de> Deserialize<'de> for PlanResponseModel
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 PartialEq<PlanResponseModel> for PlanResponseModel
impl PartialEq<PlanResponseModel> for PlanResponseModel
source§fn eq(&self, other: &PlanResponseModel) -> bool
fn eq(&self, other: &PlanResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PlanResponseModel
impl Serialize for PlanResponseModel
impl StructuralPartialEq for PlanResponseModel
Auto Trait Implementations§
impl RefUnwindSafe for PlanResponseModel
impl Send for PlanResponseModel
impl Sync for PlanResponseModel
impl Unpin for PlanResponseModel
impl UnwindSafe for PlanResponseModel
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