Struct elasticsearch_dsl::search::Explanation
source · [−]pub struct Explanation {
pub description: String,
pub value: f64,
pub details: Vec<Explanation>,
}
Expand description
Score explanation
Fields
description: String
Cumulative score description
value: f64
Cumulative score
details: Vec<Explanation>
Score details
Trait Implementations
sourceimpl Clone for Explanation
impl Clone for Explanation
sourcefn clone(&self) -> Explanation
fn clone(&self) -> Explanation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Explanation
impl Debug for Explanation
sourceimpl<'de> Deserialize<'de> for Explanation
impl<'de> Deserialize<'de> for Explanation
sourcefn 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
sourceimpl PartialEq<Explanation> for Explanation
impl PartialEq<Explanation> for Explanation
sourcefn eq(&self, other: &Explanation) -> bool
fn eq(&self, other: &Explanation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Explanation) -> bool
fn ne(&self, other: &Explanation) -> bool
This method tests for !=
.
sourceimpl Serialize for Explanation
impl Serialize for Explanation
impl StructuralPartialEq for Explanation
Auto Trait Implementations
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnwindSafe for Explanation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more