pub struct LinkDecision {
pub mention_id: String,
pub entity_id: Option<EntityId>,
pub score: Confidence,
pub method: LinkMethod,
pub candidates: Vec<LinkCandidate>,
}Fields§
§mention_id: String§entity_id: Option<EntityId>§score: Confidence§method: LinkMethod§candidates: Vec<LinkCandidate>Trait Implementations§
Source§impl Clone for LinkDecision
impl Clone for LinkDecision
Source§fn clone(&self) -> LinkDecision
fn clone(&self) -> LinkDecision
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 LinkDecision
impl Debug for LinkDecision
Source§impl<'de> Deserialize<'de> for LinkDecision
impl<'de> Deserialize<'de> for LinkDecision
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 LinkDecision
Source§impl PartialEq for LinkDecision
impl PartialEq for LinkDecision
Source§impl Serialize for LinkDecision
impl Serialize for LinkDecision
impl StructuralPartialEq for LinkDecision
Auto Trait Implementations§
impl Freeze for LinkDecision
impl RefUnwindSafe for LinkDecision
impl Send for LinkDecision
impl Sync for LinkDecision
impl Unpin for LinkDecision
impl UnsafeUnpin for LinkDecision
impl UnwindSafe for LinkDecision
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