pub struct RelationSpec {
pub relation: Relation,
pub confidence: f32,
pub reason: String,
pub judged_by: String,
}Expand description
Inputs to assert a relation between two memories. The direction (from → to)
is carried positionally by App::relate; this holds the classification.
Fields§
§relation: Relation§confidence: f32§reason: String§judged_by: StringTrait Implementations§
Source§impl Clone for RelationSpec
impl Clone for RelationSpec
Source§fn clone(&self) -> RelationSpec
fn clone(&self) -> RelationSpec
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 moreAuto Trait Implementations§
impl Freeze for RelationSpec
impl RefUnwindSafe for RelationSpec
impl Send for RelationSpec
impl Sync for RelationSpec
impl Unpin for RelationSpec
impl UnsafeUnpin for RelationSpec
impl UnwindSafe for RelationSpec
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