pub struct WeightedTriple {
pub subject: String,
pub predicate: String,
pub object: String,
pub weight: f64,
pub co_activations: u64,
}Expand description
A knowledge graph triple with weight.
Fields§
§subject: String§predicate: String§object: String§weight: f64§co_activations: u64Trait Implementations§
Source§impl Clone for WeightedTriple
impl Clone for WeightedTriple
Source§fn clone(&self) -> WeightedTriple
fn clone(&self) -> WeightedTriple
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 WeightedTriple
impl Debug for WeightedTriple
Auto Trait Implementations§
impl Freeze for WeightedTriple
impl RefUnwindSafe for WeightedTriple
impl Send for WeightedTriple
impl Sync for WeightedTriple
impl Unpin for WeightedTriple
impl UnwindSafe for WeightedTriple
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