pub struct FleetStep {
pub id: String,
pub member: String,
pub task: String,
pub depends_on: Vec<String>,
}Expand description
One step of a static fleet procedure:. Same shape a router plan uses.
Fields§
§id: StringUnique within the procedure. Also the only label downstream steps see on this step’s output, so keep it neutral when anonymity matters.
member: StringMust be one of the fleet’s members.
task: StringAppended to the run goal for this step. Empty → the goal alone.
depends_on: Vec<String>Upstream step ids. Their outputs are threaded in, in THIS order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FleetStep
impl<'de> Deserialize<'de> for FleetStep
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
impl StructuralPartialEq for FleetStep
Auto Trait Implementations§
impl Freeze for FleetStep
impl RefUnwindSafe for FleetStep
impl Send for FleetStep
impl Sync for FleetStep
impl Unpin for FleetStep
impl UnsafeUnpin for FleetStep
impl UnwindSafe for FleetStep
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