pub struct RigStatusResult {
pub rig: String,
pub project: String,
pub compose_file: String,
pub services: Vec<StatusService>,
pub volumes: Vec<String>,
pub ports_free: bool,
}Expand description
ign rig status output model — an ALLOWLIST, never a compose
config/inspect passthrough (the resolved config contains
GATEWAY_ADMIN_PASSWORD etc.; research anti-pattern).
Fields§
§rig: StringCompose project name.
project: StringCompose project name.
compose_file: StringThe compose file the rig resolved from.
services: Vec<StatusService>One row per RUNNING-OR-EXITED compose service (empty when the rig is down — state is data, exit 0).
volumes: Vec<String>Named volumes reset would remove (project-labeled).
ports_free: boolTrue when NO docker container currently publishes any of the rig’s host ports (a running rig holds its own ports → false).
Trait Implementations§
Source§impl Debug for RigStatusResult
impl Debug for RigStatusResult
Auto Trait Implementations§
impl Freeze for RigStatusResult
impl RefUnwindSafe for RigStatusResult
impl Send for RigStatusResult
impl Sync for RigStatusResult
impl Unpin for RigStatusResult
impl UnsafeUnpin for RigStatusResult
impl UnwindSafe for RigStatusResult
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