pub struct LicenseMetadata {
pub status: String,
pub tenant_id: String,
pub plan: String,
pub quarantine: bool,
pub grace_started_at: Option<String>,
pub grace_expires_at: Option<String>,
pub last_online_check: Option<String>,
}Expand description
License metadata to be injected into events
Fields§
§status: StringCurrent license status
tenant_id: StringTenant ID from license
plan: StringLicense plan
quarantine: boolWhether events should be quarantined
grace_started_at: Option<String>When grace period started (ISO 8601)
grace_expires_at: Option<String>When grace period expires (ISO 8601)
last_online_check: Option<String>Last online validation check (ISO 8601)
Trait Implementations§
Source§impl Clone for LicenseMetadata
impl Clone for LicenseMetadata
Source§fn clone(&self) -> LicenseMetadata
fn clone(&self) -> LicenseMetadata
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 LicenseMetadata
impl Debug for LicenseMetadata
Source§impl Default for LicenseMetadata
impl Default for LicenseMetadata
Source§fn default() -> LicenseMetadata
fn default() -> LicenseMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LicenseMetadata
impl<'de> Deserialize<'de> for LicenseMetadata
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 LicenseMetadata
impl RefUnwindSafe for LicenseMetadata
impl Send for LicenseMetadata
impl Sync for LicenseMetadata
impl Unpin for LicenseMetadata
impl UnwindSafe for LicenseMetadata
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