pub struct FindNodeCandidate {
pub node_id: String,
pub score: f32,
pub match_reasons: Vec<String>,
}Fields§
§node_id: String§score: f32§match_reasons: Vec<String>Trait Implementations§
Source§impl Clone for FindNodeCandidate
impl Clone for FindNodeCandidate
Source§fn clone(&self) -> FindNodeCandidate
fn clone(&self) -> FindNodeCandidate
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 FindNodeCandidate
impl Debug for FindNodeCandidate
Source§impl<'de> Deserialize<'de> for FindNodeCandidate
impl<'de> Deserialize<'de> for FindNodeCandidate
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
Source§impl PartialEq for FindNodeCandidate
impl PartialEq for FindNodeCandidate
Source§impl Serialize for FindNodeCandidate
impl Serialize for FindNodeCandidate
impl StructuralPartialEq for FindNodeCandidate
Auto Trait Implementations§
impl Freeze for FindNodeCandidate
impl RefUnwindSafe for FindNodeCandidate
impl Send for FindNodeCandidate
impl Sync for FindNodeCandidate
impl Unpin for FindNodeCandidate
impl UnsafeUnpin for FindNodeCandidate
impl UnwindSafe for FindNodeCandidate
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