pub struct SearchSelectionSpec {
pub policy: SearchSelectionPolicy,
pub retain_diversity: bool,
pub ordering: Vec<SearchSelectionMetric>,
}Fields§
§policy: SearchSelectionPolicy§retain_diversity: bool§ordering: Vec<SearchSelectionMetric>Trait Implementations§
Source§impl Clone for SearchSelectionSpec
impl Clone for SearchSelectionSpec
Source§fn clone(&self) -> SearchSelectionSpec
fn clone(&self) -> SearchSelectionSpec
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 SearchSelectionSpec
impl Debug for SearchSelectionSpec
Source§impl Default for SearchSelectionSpec
impl Default for SearchSelectionSpec
Source§impl<'de> Deserialize<'de> for SearchSelectionSpec
impl<'de> Deserialize<'de> for SearchSelectionSpec
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 SearchSelectionSpec
Source§impl PartialEq for SearchSelectionSpec
impl PartialEq for SearchSelectionSpec
Source§impl Serialize for SearchSelectionSpec
impl Serialize for SearchSelectionSpec
impl StructuralPartialEq for SearchSelectionSpec
Auto Trait Implementations§
impl Freeze for SearchSelectionSpec
impl RefUnwindSafe for SearchSelectionSpec
impl Send for SearchSelectionSpec
impl Sync for SearchSelectionSpec
impl Unpin for SearchSelectionSpec
impl UnsafeUnpin for SearchSelectionSpec
impl UnwindSafe for SearchSelectionSpec
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