#[non_exhaustive]pub struct AgentActionStatus {
pub action_id: String,
pub status: ActionStatus,
pub action_type: String,
pub nb_agents_action_created: u64,
pub nb_agents_ack: u64,
pub nb_agents_failed: u64,
pub nb_agents_actioned: u64,
pub latest_errors: Vec<Value>,
pub extra: Map<String, Value>,
}Expand description
Inspect failure counts and errors, including while the action is in progress.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action_id: String§status: ActionStatus§action_type: String§nb_agents_action_created: u64§nb_agents_ack: u64§nb_agents_failed: u64§nb_agents_actioned: u64§latest_errors: Vec<Value>§extra: Map<String, Value>Implementations§
Source§impl AgentActionStatus
impl AgentActionStatus
Sourcepub fn is_finished(&self) -> bool
pub fn is_finished(&self) -> bool
See ActionStatus::is_finished. Check the failure counts too.
Trait Implementations§
Source§impl Clone for AgentActionStatus
impl Clone for AgentActionStatus
Source§impl Debug for AgentActionStatus
impl Debug for AgentActionStatus
Source§impl<'de> Deserialize<'de> for AgentActionStatus
impl<'de> Deserialize<'de> for AgentActionStatus
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
Auto Trait Implementations§
impl Freeze for AgentActionStatus
impl RefUnwindSafe for AgentActionStatus
impl Send for AgentActionStatus
impl Sync for AgentActionStatus
impl Unpin for AgentActionStatus
impl UnsafeUnpin for AgentActionStatus
impl UnwindSafe for AgentActionStatus
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