Struct bitwarden_api_api::models::user_license::UserLicense
source · pub struct UserLicense {Show 14 fields
pub license_key: Option<String>,
pub id: Option<Uuid>,
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<Uuid>
§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 for UserLicense
impl PartialEq 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 ==
.source§impl Serialize for UserLicense
impl Serialize for UserLicense
impl StructuralPartialEq for UserLicense
Auto Trait Implementations§
impl RefUnwindSafe for UserLicense
impl Send for UserLicense
impl Sync for UserLicense
impl Unpin for UserLicense
impl UnwindSafe for UserLicense
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