pub struct TrialStatusResult {
pub license_mode: String,
pub trial_state: String,
pub trial_remaining_s: i64,
pub expired: bool,
pub emergency: bool,
pub emergency_remaining_s: i64,
pub development: bool,
pub banners: TrialBanners,
pub warnings: Vec<String>,
}Expand description
ign rig trial status output model (04-03, RIG-02): the trial
endpoint re-exposed under unit-explicit keys (the two-layer naming
LOCK) + the banners cross-check. All keys always present.
Fields§
§license_mode: StringlicenseMode verbatim ("Trial" / …).
trial_state: StringtrialState verbatim (AllInDemo / SomeInDemo /
NoneInDemo).
trial_remaining_s: i64trialSecondsLeft — epoch SECONDS (the _s suffix is the
unit contract).
expired: boolThe primary expiry truth (never derived from banners).
emergency: boolEmergency-license flag.
emergency_remaining_s: i64emergencySecondsLeft — epoch SECONDS.
development: boolDevelopment-license flag.
The banners cross-check block.
warnings: Vec<String>Data-level warnings (banners fetch failed, …) — exit 0 carries them here, never on stderr.
Trait Implementations§
Source§impl Debug for TrialStatusResult
impl Debug for TrialStatusResult
Auto Trait Implementations§
impl Freeze for TrialStatusResult
impl RefUnwindSafe for TrialStatusResult
impl Send for TrialStatusResult
impl Sync for TrialStatusResult
impl Unpin for TrialStatusResult
impl UnsafeUnpin for TrialStatusResult
impl UnwindSafe for TrialStatusResult
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