pub struct ActionTarget {
pub group_id: String,
pub label: String,
pub root: ProcId,
pub kind: ActionKind,
pub expected_gain: Option<u64>,
pub graceful: Option<String>,
}Expand description
One step of a plan.
Fields§
§group_id: String§label: String§root: ProcIdGroup root to signal (identity re-verified before signalling).
kind: ActionKind§expected_gain: Option<u64>§graceful: Option<String>Graceful action description when kind == Graceful, e.g. “ollama unload llama3:8b”.
Trait Implementations§
Source§impl Clone for ActionTarget
impl Clone for ActionTarget
Source§impl Debug for ActionTarget
impl Debug for ActionTarget
Source§impl Default for ActionTarget
impl Default for ActionTarget
Source§impl<'de> Deserialize<'de> for ActionTargetwhere
ActionTarget: Default,
impl<'de> Deserialize<'de> for ActionTargetwhere
ActionTarget: Default,
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
Source§impl PartialEq for ActionTarget
impl PartialEq for ActionTarget
Source§impl Serialize for ActionTarget
impl Serialize for ActionTarget
impl StructuralPartialEq for ActionTarget
Auto Trait Implementations§
impl Forget for ActionTarget
impl Freeze for ActionTarget
impl Move for ActionTarget
impl RefUnwindSafe for ActionTarget
impl Send for ActionTargetwhere
RawVecInner: Send,
impl Sync for ActionTargetwhere
RawVecInner: Sync,
impl Unpin for ActionTarget
impl UnsafeUnpin for ActionTarget
impl UnwindSafe for ActionTargetwhere
RawVecInner: UnwindSafe,
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