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 added to every event as provenance.license, where it
is signed with the rest of the provenance and stays out of the
customer’s extensions (issue #249).
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§impl Debug for LicenseMetadata
impl Debug for LicenseMetadata
Source§impl Default for LicenseMetadata
impl Default for LicenseMetadata
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 UnsafeUnpin 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