pub struct AgentBeliefs {
pub agent_id: AgentId,
pub facts: Vec<Belief>,
pub hypotheses: Vec<Belief>,
pub uncertainties: Vec<Belief>,
pub last_updated: Timestamp,
}Expand description
Collection of an agent’s beliefs.
Fields§
§agent_id: AgentIdAgent these beliefs belong to
facts: Vec<Belief>Beliefs classified as facts
hypotheses: Vec<Belief>Beliefs classified as hypotheses
uncertainties: Vec<Belief>Beliefs classified as uncertainties
last_updated: TimestampWhen last updated
Implementations§
Trait Implementations§
Source§impl Clone for AgentBeliefs
impl Clone for AgentBeliefs
Source§fn clone(&self) -> AgentBeliefs
fn clone(&self) -> AgentBeliefs
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 ComposeSchema for AgentBeliefs
impl ComposeSchema for AgentBeliefs
Source§impl Debug for AgentBeliefs
impl Debug for AgentBeliefs
Source§impl<'de> Deserialize<'de> for AgentBeliefs
impl<'de> Deserialize<'de> for AgentBeliefs
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 AgentBeliefs
impl PartialEq for AgentBeliefs
Source§impl Serialize for AgentBeliefs
impl Serialize for AgentBeliefs
Source§impl ToSchema for AgentBeliefs
impl ToSchema for AgentBeliefs
impl StructuralPartialEq for AgentBeliefs
Auto Trait Implementations§
impl Freeze for AgentBeliefs
impl RefUnwindSafe for AgentBeliefs
impl Send for AgentBeliefs
impl Sync for AgentBeliefs
impl Unpin for AgentBeliefs
impl UnwindSafe for AgentBeliefs
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