pub struct Rank {
pub value: Option<f64>,
pub type_: Option<String>,
}Expand description
Information related to ranking of results.
This type is not used in any activity, and only used as part of another schema.
Fields§
§value: Option<f64>The numerical value of the rank.
type_: Option<String>The type of rank.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rank
impl<'de> Deserialize<'de> for Rank
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 Part for Rank
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnwindSafe for Rank
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