pub struct OrganizationLicense {Show 42 fields
pub license_key: Option<String>,
pub installation_id: Option<Uuid>,
pub id: Option<Uuid>,
pub name: Option<String>,
pub billing_email: Option<String>,
pub business_name: Option<String>,
pub enabled: Option<bool>,
pub plan: Option<String>,
pub plan_type: Option<PlanType>,
pub seats: Option<i32>,
pub max_collections: Option<i32>,
pub use_policies: Option<bool>,
pub use_sso: Option<bool>,
pub use_key_connector: Option<bool>,
pub use_scim: Option<bool>,
pub use_groups: Option<bool>,
pub use_events: Option<bool>,
pub use_directory: Option<bool>,
pub use_totp: Option<bool>,
pub use2fa: Option<bool>,
pub use_api: Option<bool>,
pub use_reset_password: Option<bool>,
pub max_storage_gb: Option<i32>,
pub self_host: Option<bool>,
pub users_get_premium: Option<bool>,
pub use_custom_permissions: Option<bool>,
pub version: Option<i32>,
pub issued: Option<String>,
pub refresh: Option<String>,
pub expires: Option<String>,
pub expiration_without_grace_period: Option<String>,
pub use_password_manager: Option<bool>,
pub use_secrets_manager: Option<bool>,
pub sm_seats: Option<i32>,
pub sm_service_accounts: Option<i32>,
pub limit_collection_creation_deletion: Option<bool>,
pub allow_admin_access_to_all_collection_items: Option<bool>,
pub trial: Option<bool>,
pub license_type: Option<LicenseType>,
pub hash: Option<String>,
pub signature: Option<String>,
pub token: Option<String>,
}
Fields§
§license_key: Option<String>
§installation_id: Option<Uuid>
§id: Option<Uuid>
§name: Option<String>
§billing_email: Option<String>
§business_name: Option<String>
§enabled: Option<bool>
§plan: Option<String>
§plan_type: Option<PlanType>
§seats: Option<i32>
§max_collections: Option<i32>
§use_policies: Option<bool>
§use_sso: Option<bool>
§use_key_connector: Option<bool>
§use_scim: Option<bool>
§use_groups: Option<bool>
§use_events: Option<bool>
§use_directory: Option<bool>
§use_totp: Option<bool>
§use2fa: Option<bool>
§use_api: Option<bool>
§use_reset_password: Option<bool>
§max_storage_gb: Option<i32>
§self_host: Option<bool>
§use_custom_permissions: Option<bool>
§version: Option<i32>
§issued: Option<String>
§refresh: Option<String>
§expires: Option<String>
§expiration_without_grace_period: Option<String>
§use_password_manager: Option<bool>
§use_secrets_manager: Option<bool>
§sm_seats: Option<i32>
§sm_service_accounts: Option<i32>
§limit_collection_creation_deletion: Option<bool>
§allow_admin_access_to_all_collection_items: Option<bool>
§trial: Option<bool>
§license_type: Option<LicenseType>
§hash: Option<String>
§signature: Option<String>
§token: Option<String>
Implementations§
Source§impl OrganizationLicense
impl OrganizationLicense
pub fn new() -> OrganizationLicense
Trait Implementations§
Source§impl Clone for OrganizationLicense
impl Clone for OrganizationLicense
Source§fn clone(&self) -> OrganizationLicense
fn clone(&self) -> OrganizationLicense
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 OrganizationLicense
impl Debug for OrganizationLicense
Source§impl Default for OrganizationLicense
impl Default for OrganizationLicense
Source§fn default() -> OrganizationLicense
fn default() -> OrganizationLicense
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrganizationLicense
impl<'de> Deserialize<'de> for OrganizationLicense
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 OrganizationLicense
impl PartialEq for OrganizationLicense
Source§impl Serialize for OrganizationLicense
impl Serialize for OrganizationLicense
impl StructuralPartialEq for OrganizationLicense
Auto Trait Implementations§
impl Freeze for OrganizationLicense
impl RefUnwindSafe for OrganizationLicense
impl Send for OrganizationLicense
impl Sync for OrganizationLicense
impl Unpin for OrganizationLicense
impl UnwindSafe for OrganizationLicense
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