pub struct StatusResult {
pub gateway: StatusGateway,
pub state: String,
pub overview: StatusOverview,
}Expand description
ign status output model — gateway_info + overview + status_ping
merged. Declaration order = golden field order. Key names are the
documented contract: gateway {name, ignition_version, edition, license}, state, overview {java, os, uptime_ms, memory, cpu_fraction, disk, license {state, trial_remaining_s}} — honest
units (_ms, _s, _fraction) instead of the gateway’s bare
uptime/cpu/trialRemaining.
Fields§
§gateway: StatusGatewayIdentity block from /data/api/v1/gateway-info.
state: StringRunning state from the unauthenticated /StatusPing
("RUNNING" / "STARTING" / …).
overview: StatusOverviewRuntime block from /data/api/v1/overview.
Trait Implementations§
Source§impl Debug for StatusResult
impl Debug for StatusResult
Auto Trait Implementations§
impl Freeze for StatusResult
impl RefUnwindSafe for StatusResult
impl Send for StatusResult
impl Sync for StatusResult
impl Unpin for StatusResult
impl UnsafeUnpin for StatusResult
impl UnwindSafe for StatusResult
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