pub struct OverviewLicense {
pub state: String,
pub trial_remaining_s: Option<i64>,
pub extra: BTreeMap<String, Value>,
}Expand description
overview.license — {state, trialRemaining} (suffixed _s in Rust
to make the unit explicit; serialized under the gateway-native key).
Fields§
§state: String"trial" / "licensed" / …
trial_remaining_s: Option<i64>Trial countdown in epoch SECONDS (live capture: 7017 ≈
1h57m), when reported (absent on licensed gateways).
extra: BTreeMap<String, Value>Unknown keys round-trip.
Trait Implementations§
Source§impl Clone for OverviewLicense
impl Clone for OverviewLicense
Source§fn clone(&self) -> OverviewLicense
fn clone(&self) -> OverviewLicense
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OverviewLicense
impl Debug for OverviewLicense
Source§impl<'de> Deserialize<'de> for OverviewLicense
impl<'de> Deserialize<'de> for OverviewLicense
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 OverviewLicense
impl PartialEq for OverviewLicense
Source§impl Serialize for OverviewLicense
impl Serialize for OverviewLicense
impl StructuralPartialEq for OverviewLicense
Auto Trait Implementations§
impl Freeze for OverviewLicense
impl RefUnwindSafe for OverviewLicense
impl Send for OverviewLicense
impl Sync for OverviewLicense
impl Unpin for OverviewLicense
impl UnsafeUnpin for OverviewLicense
impl UnwindSafe for OverviewLicense
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