pub struct LicenseConfig {
pub token: Option<String>,
pub grace_period_hours: i64,
}Expand description
License configuration.
Fields§
§token: Option<String>JWT license token from PhyWare customer portal.
grace_period_hours: i64Grace period in hours (default 72).
Trait Implementations§
Source§impl Clone for LicenseConfig
impl Clone for LicenseConfig
Source§fn clone(&self) -> LicenseConfig
fn clone(&self) -> LicenseConfig
Returns a duplicate 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 LicenseConfig
impl Debug for LicenseConfig
Source§impl Default for LicenseConfig
impl Default for LicenseConfig
Source§impl<'de> Deserialize<'de> for LicenseConfig
impl<'de> Deserialize<'de> for LicenseConfig
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
Auto Trait Implementations§
impl Freeze for LicenseConfig
impl RefUnwindSafe for LicenseConfig
impl Send for LicenseConfig
impl Sync for LicenseConfig
impl Unpin for LicenseConfig
impl UnwindSafe for LicenseConfig
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