pub struct BeliefCreated {
pub agent_id: Uuid,
pub belief_id: BeliefId,
pub content: String,
pub confidence: f32,
pub source: Option<String>,
}Expand description
Payload for BELIEF_CREATED events.
Fields§
§agent_id: Uuid§belief_id: BeliefId§content: String§confidence: f32§source: Option<String>Trait Implementations§
Source§impl Clone for BeliefCreated
impl Clone for BeliefCreated
Source§fn clone(&self) -> BeliefCreated
fn clone(&self) -> BeliefCreated
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 BeliefCreated
impl Debug for BeliefCreated
Source§impl<'de> Deserialize<'de> for BeliefCreated
impl<'de> Deserialize<'de> for BeliefCreated
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 BeliefCreated
impl EventPayload for BeliefCreated
Auto Trait Implementations§
impl Freeze for BeliefCreated
impl RefUnwindSafe for BeliefCreated
impl Send for BeliefCreated
impl Sync for BeliefCreated
impl Unpin for BeliefCreated
impl UnwindSafe for BeliefCreated
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