pub struct JobsApply {
pub harness: String,
pub profile: Option<String>,
pub jobs: Vec<JobSpec>,
pub plan: bool,
pub homes: HarnessHomes,
}Expand description
One jobs.apply request.
Fields§
§harness: StringHarness the spec is applied to.
profile: Option<String>Hermes profile / OpenClaw agent the jobs belong to. Absent means the root home only, never every profile.
jobs: Vec<JobSpec>The declared jobs.
plan: boolReport what would run without running it.
homes: HarnessHomesStorage roots.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobsApply
impl<'de> Deserialize<'de> for JobsApply
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobsApply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobsApply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for JobsApply
impl Serialize for JobsApply
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 JobsApply
Auto Trait Implementations§
impl Freeze for JobsApply
impl RefUnwindSafe for JobsApply
impl Send for JobsApply
impl Sync for JobsApply
impl Unpin for JobsApply
impl UnsafeUnpin for JobsApply
impl UnwindSafe for JobsApply
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