pub struct PlanResponseModel {Show 26 fields
pub object: Option<String>,
pub type: Option<PlanType>,
pub product_tier: Option<ProductTierType>,
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 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 secrets_manager: Option<Box<SecretsManagerPlanFeaturesResponseModel>>,
pub password_manager: Option<Box<PasswordManagerPlanFeaturesResponseModel>>,
}
Fields§
§object: Option<String>
§type: Option<PlanType>
§product_tier: Option<ProductTierType>
§name: Option<String>
§is_annual: Option<bool>
§name_localization_key: Option<String>
§description_localization_key: Option<String>
§can_be_used_by_business: Option<bool>
§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>
§secrets_manager: Option<Box<SecretsManagerPlanFeaturesResponseModel>>
§password_manager: Option<Box<PasswordManagerPlanFeaturesResponseModel>>
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 for PlanResponseModel
impl PartialEq for PlanResponseModel
Source§impl Serialize for PlanResponseModel
impl Serialize for PlanResponseModel
impl StructuralPartialEq for PlanResponseModel
Auto Trait Implementations§
impl Freeze for PlanResponseModel
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