pub struct License {
pub licensee: String,
pub invoice: String,
pub expiry_date: DateTime<Utc>,
pub plan: String,
pub device_number: u32,
pub disk_quota: i32,
pub fingerprint: String,
}Expand description
License information
Fields§
§licensee: StringLicensee usually is the company name
invoice: StringInvoice number
expiry_date: DateTime<Utc>Expiry date
plan: StringPlan name
device_number: u32Number of devices (0 for unlimited)
disk_quota: i32Disk quota in TB (0 for unlimited)
fingerprint: StringFingerprint
Trait Implementations§
Source§impl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
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
impl StructuralPartialEq for License
Auto Trait Implementations§
impl Freeze for License
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
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