pub struct RelationMatch {
pub relation: String,
pub direction: String,
pub phrase: String,
pub endpoint_id: String,
pub endpoint_title: String,
pub endpoint_hits: usize,
pub score_boost: i64,
}Fields§
§relation: String§direction: String§phrase: String§endpoint_id: String§endpoint_title: String§endpoint_hits: usize§score_boost: i64Trait Implementations§
Source§impl Clone for RelationMatch
impl Clone for RelationMatch
Source§fn clone(&self) -> RelationMatch
fn clone(&self) -> RelationMatch
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 RelationMatch
impl Debug for RelationMatch
impl Eq for RelationMatch
Source§impl PartialEq for RelationMatch
impl PartialEq for RelationMatch
Source§fn eq(&self, other: &RelationMatch) -> bool
fn eq(&self, other: &RelationMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationMatch
impl Serialize for RelationMatch
impl StructuralPartialEq for RelationMatch
Auto Trait Implementations§
impl Freeze for RelationMatch
impl RefUnwindSafe for RelationMatch
impl Send for RelationMatch
impl Sync for RelationMatch
impl Unpin for RelationMatch
impl UnsafeUnpin for RelationMatch
impl UnwindSafe for RelationMatch
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