pub struct PerceptionView {
pub id: PerceptionId,
pub name: String,
pub description: String,
pub perception_type: PerceptionType,
pub confidence: PerceptionConfidence,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub tags: Vec<String>,
pub metadata: AHashMap<String, Value>,
pub supporting_perceptions: Vec<PerceptionId>,
pub conflicting_perceptions: Vec<PerceptionId>,
pub evidence: Vec<PerceptionEvidence>,
}Expand description
A specific viewpoint or way of understanding reality
Fields§
§id: PerceptionId§name: String§description: String§perception_type: PerceptionType§confidence: PerceptionConfidence§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§metadata: AHashMap<String, Value>§supporting_perceptions: Vec<PerceptionId>Related perceptions that support this view
conflicting_perceptions: Vec<PerceptionId>Perceptions that conflict with this view
evidence: Vec<PerceptionEvidence>Evidence supporting this perception
Trait Implementations§
Source§impl Clone for PerceptionView
impl Clone for PerceptionView
Source§fn clone(&self) -> PerceptionView
fn clone(&self) -> PerceptionView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PerceptionView
impl Debug for PerceptionView
Source§impl<'de> Deserialize<'de> for PerceptionView
impl<'de> Deserialize<'de> for PerceptionView
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 PerceptionView
impl RefUnwindSafe for PerceptionView
impl Send for PerceptionView
impl Sync for PerceptionView
impl Unpin for PerceptionView
impl UnsafeUnpin for PerceptionView
impl UnwindSafe for PerceptionView
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