pub struct GoalFailed {
pub agent_id: Uuid,
pub goal_id: GoalId,
pub reason: Option<String>,
}Expand description
Payload for GOAL_FAILED events.
Fields§
§agent_id: Uuid§goal_id: GoalId§reason: Option<String>Trait Implementations§
Source§impl Clone for GoalFailed
impl Clone for GoalFailed
Source§fn clone(&self) -> GoalFailed
fn clone(&self) -> GoalFailed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoalFailed
impl Debug for GoalFailed
Source§impl<'de> Deserialize<'de> for GoalFailed
impl<'de> Deserialize<'de> for GoalFailed
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 EventPayload for GoalFailed
impl EventPayload for GoalFailed
Auto Trait Implementations§
impl Freeze for GoalFailed
impl RefUnwindSafe for GoalFailed
impl Send for GoalFailed
impl Sync for GoalFailed
impl Unpin for GoalFailed
impl UnwindSafe for GoalFailed
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