Struct bitwarden_api_api::models::user_license::UserLicense
source · pub struct UserLicense {Show 14 fields
pub license_key: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub premium: Option<bool>,
pub max_storage_gb: Option<i32>,
pub version: Option<i32>,
pub issued: Option<String>,
pub refresh: Option<String>,
pub expires: Option<String>,
pub trial: Option<bool>,
pub license_type: Option<LicenseType>,
pub hash: Option<String>,
pub signature: Option<String>,
}
Fields§
§license_key: Option<String>
§id: Option<String>
§name: Option<String>
§email: Option<String>
§max_storage_gb: Option<i32>
§version: Option<i32>
§issued: Option<String>
§refresh: Option<String>
§expires: Option<String>
§trial: Option<bool>
§license_type: Option<LicenseType>
§hash: Option<String>
§signature: Option<String>
Implementations§
source§impl UserLicense
impl UserLicense
pub fn new() -> UserLicense
Trait Implementations§
source§impl Clone for UserLicense
impl Clone for UserLicense
source§fn clone(&self) -> UserLicense
fn clone(&self) -> UserLicense
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 UserLicense
impl Debug for UserLicense
source§impl Default for UserLicense
impl Default for UserLicense
source§fn default() -> UserLicense
fn default() -> UserLicense
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserLicense
impl<'de> Deserialize<'de> for UserLicense
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<UserLicense> for UserLicense
impl PartialEq<UserLicense> for UserLicense
source§fn eq(&self, other: &UserLicense) -> bool
fn eq(&self, other: &UserLicense) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.