pub struct PerceptionEvidence {
pub id: Uuid,
pub description: String,
pub source: EvidenceSource,
pub weight: f64,
pub timestamp: DateTime<Utc>,
pub data: Value,
}Expand description
Evidence supporting or refuting a perception
Fields§
§id: Uuid§description: String§source: EvidenceSource§weight: f64§timestamp: DateTime<Utc>§data: ValueTrait Implementations§
Source§impl Clone for PerceptionEvidence
impl Clone for PerceptionEvidence
Source§fn clone(&self) -> PerceptionEvidence
fn clone(&self) -> PerceptionEvidence
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 PerceptionEvidence
impl Debug for PerceptionEvidence
Source§impl<'de> Deserialize<'de> for PerceptionEvidence
impl<'de> Deserialize<'de> for PerceptionEvidence
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 PerceptionEvidence
impl RefUnwindSafe for PerceptionEvidence
impl Send for PerceptionEvidence
impl Sync for PerceptionEvidence
impl Unpin for PerceptionEvidence
impl UnsafeUnpin for PerceptionEvidence
impl UnwindSafe for PerceptionEvidence
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