pub struct GoalCreated {
pub agent_id: Uuid,
pub goal_id: GoalId,
pub description: String,
pub goal_type: Option<String>,
pub priority: i32,
pub parent_id: Option<GoalId>,
pub deadline: Option<DateTime<Utc>>,
}Expand description
Payload for GOAL_CREATED events.
Fields§
§agent_id: Uuid§goal_id: GoalId§description: String§goal_type: Option<String>§priority: i32§parent_id: Option<GoalId>§deadline: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for GoalCreated
impl Clone for GoalCreated
Source§fn clone(&self) -> GoalCreated
fn clone(&self) -> GoalCreated
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 GoalCreated
impl Debug for GoalCreated
Source§impl<'de> Deserialize<'de> for GoalCreated
impl<'de> Deserialize<'de> for GoalCreated
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 GoalCreated
impl EventPayload for GoalCreated
Auto Trait Implementations§
impl Freeze for GoalCreated
impl RefUnwindSafe for GoalCreated
impl Send for GoalCreated
impl Sync for GoalCreated
impl Unpin for GoalCreated
impl UnwindSafe for GoalCreated
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