pub struct ParseCandidate {
pub id: String,
pub confidence: u8,
pub reason: String,
}Expand description
Candidate parser ranked by detection confidence.
Fields§
§id: String§confidence: u8§reason: StringTrait Implementations§
Source§impl Clone for ParseCandidate
impl Clone for ParseCandidate
Source§fn clone(&self) -> ParseCandidate
fn clone(&self) -> ParseCandidate
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 ParseCandidate
impl Debug for ParseCandidate
Source§impl<'de> Deserialize<'de> for ParseCandidate
impl<'de> Deserialize<'de> for ParseCandidate
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 ParseCandidate
impl RefUnwindSafe for ParseCandidate
impl Send for ParseCandidate
impl Sync for ParseCandidate
impl Unpin for ParseCandidate
impl UnsafeUnpin for ParseCandidate
impl UnwindSafe for ParseCandidate
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