pub struct FuzzyCandidate {
pub start_line: usize,
pub end_line: usize,
pub score: u32,
pub snippet: String,
pub reason: String,
}Fields§
§start_line: usize§end_line: usize§score: u32§snippet: String§reason: StringTrait Implementations§
Source§impl Clone for FuzzyCandidate
impl Clone for FuzzyCandidate
Source§fn clone(&self) -> FuzzyCandidate
fn clone(&self) -> FuzzyCandidate
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 FuzzyCandidate
impl Debug for FuzzyCandidate
Source§impl<'de> Deserialize<'de> for FuzzyCandidate
impl<'de> Deserialize<'de> for FuzzyCandidate
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
impl Eq for FuzzyCandidate
Source§impl PartialEq for FuzzyCandidate
impl PartialEq for FuzzyCandidate
Source§fn eq(&self, other: &FuzzyCandidate) -> bool
fn eq(&self, other: &FuzzyCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FuzzyCandidate
impl Serialize for FuzzyCandidate
impl StructuralPartialEq for FuzzyCandidate
Auto Trait Implementations§
impl Freeze for FuzzyCandidate
impl RefUnwindSafe for FuzzyCandidate
impl Send for FuzzyCandidate
impl Sync for FuzzyCandidate
impl Unpin for FuzzyCandidate
impl UnsafeUnpin for FuzzyCandidate
impl UnwindSafe for FuzzyCandidate
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