pub struct RigPlan {
pub name: String,
pub compose_file: PathBuf,
pub project_dir: PathBuf,
pub services: Vec<String>,
pub host_ports: Vec<u16>,
pub port_mappings: Vec<PortMapping>,
pub volumes: Vec<String>,
}Expand description
The resolved rig — research Pattern 1’s model, plus the target→
published port pairs (the gateway-URL heuristic in actions::rig
needs targets, not just the published half).
Fields§
§name: StringCompose project name — THE identity truth (honors the rig’s own
.env COMPOSE_PROJECT_NAME via the resolve run).
compose_file: PathBufThe compose file discovery found.
project_dir: PathBufIts directory (--project-directory on every resolve; where
.env is read from).
services: Vec<String>Service names, sorted (the config map’s keys).
host_ports: Vec<u16>Published host ports (the published half of port_mappings).
port_mappings: Vec<PortMapping>Full target→published pairs.
volumes: Vec<String>Named volumes declared by the compose file.
Trait Implementations§
impl StructuralPartialEq for RigPlan
Auto Trait Implementations§
impl Freeze for RigPlan
impl RefUnwindSafe for RigPlan
impl Send for RigPlan
impl Sync for RigPlan
impl Unpin for RigPlan
impl UnsafeUnpin for RigPlan
impl UnwindSafe for RigPlan
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