Struct stremio_core::models::local_search::IndexOptions
source · pub struct IndexOptions {
imdb_rating_weight: f64,
popularity_weight: f64,
}
Fields§
§imdb_rating_weight: f64
§popularity_weight: f64
Trait Implementations§
source§impl Clone for IndexOptions
impl Clone for IndexOptions
source§fn clone(&self) -> IndexOptions
fn clone(&self) -> IndexOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for IndexOptions
Auto Trait Implementations§
impl Freeze for IndexOptions
impl RefUnwindSafe for IndexOptions
impl Send for IndexOptions
impl Sync for IndexOptions
impl Unpin for IndexOptions
impl UnwindSafe for IndexOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)