pub struct SimilarPair {
pub node_a: String,
pub node_b: String,
pub similarity: f64,
pub label_a: String,
pub label_b: String,
}Expand description
A pair of structurally similar nodes found via graph embedding.
Fields§
§node_a: String§node_b: String§similarity: f64§label_a: String§label_b: StringTrait Implementations§
Source§impl Clone for SimilarPair
impl Clone for SimilarPair
Source§fn clone(&self) -> SimilarPair
fn clone(&self) -> SimilarPair
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 SimilarPair
impl Debug for SimilarPair
Source§impl<'de> Deserialize<'de> for SimilarPair
impl<'de> Deserialize<'de> for SimilarPair
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 SimilarPair
impl RefUnwindSafe for SimilarPair
impl Send for SimilarPair
impl Sync for SimilarPair
impl Unpin for SimilarPair
impl UnsafeUnpin for SimilarPair
impl UnwindSafe for SimilarPair
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