pub struct Scored {
pub id: u32,
pub doc: Document,
pub labels: Vec<String>,
pub display: Option<String>,
pub housenumber: Option<String>,
pub distance_km: Option<f64>,
/* private fields */
}Expand description
A scored candidate, addok.core.Result.
Fields§
§id: u32§doc: Document§labels: Vec<String>§display: Option<String>Shown instead of the first label (Profile::display_label).
housenumber: Option<String>§distance_km: Option<f64>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Scored
impl Freeze for Scored
impl Move for Scored
impl RefUnwindSafe for Scored
impl Send for Scored
impl Sync for Scored
impl Unpin for Scored
impl UnsafeUnpin for Scored
impl UnwindSafe for Scored
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