pub struct Step {
pub id: String,
pub kind: String,
pub title: String,
pub status: String,
pub reason: String,
pub action: Option<Action>,
pub command: Option<String>,
pub verify: Option<String>,
pub optional: bool,
pub size_bytes: Option<u64>,
}Fields§
§id: String§kind: Stringharness | plugin | config | skill | instructions | mcp | runtime | model | package | secret
title: String§status: Stringsatisfied | auto | manual
reason: StringWhy it’s manual, or what satisfied it.
action: Option<Action>§command: Option<String>The command to run by hand (manual steps), or the one action runs.
verify: Option<String>A command that confirms the step worked.
optional: boolNot needed for the locked roles (e.g. extra models a provider lists).
size_bytes: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Step, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Step, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Step
impl Serialize for Step
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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