pub struct AnnCandidate {
pub id: String,
pub score: f32,
}Fields§
§id: String§score: f32Trait Implementations§
Source§impl Clone for AnnCandidate
impl Clone for AnnCandidate
Source§fn clone(&self) -> AnnCandidate
fn clone(&self) -> AnnCandidate
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 AnnCandidate
impl Debug for AnnCandidate
Source§impl PartialEq for AnnCandidate
impl PartialEq for AnnCandidate
Source§fn eq(&self, other: &AnnCandidate) -> bool
fn eq(&self, other: &AnnCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnnCandidate
Auto Trait Implementations§
impl Freeze for AnnCandidate
impl RefUnwindSafe for AnnCandidate
impl Send for AnnCandidate
impl Sync for AnnCandidate
impl Unpin for AnnCandidate
impl UnsafeUnpin for AnnCandidate
impl UnwindSafe for AnnCandidate
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