pub struct SearchRuntimePolicy {
pub max_entries: usize,
pub max_bytes: usize,
pub authoritative_max_bytes: usize,
pub hnsw_max_bytes: usize,
pub pq_max_bytes: usize,
}Fields§
§max_entries: usize§max_bytes: usize§hnsw_max_bytes: usize§pq_max_bytes: usizeImplementations§
Trait Implementations§
Source§impl Clone for SearchRuntimePolicy
impl Clone for SearchRuntimePolicy
Source§fn clone(&self) -> SearchRuntimePolicy
fn clone(&self) -> SearchRuntimePolicy
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 SearchRuntimePolicy
impl Debug for SearchRuntimePolicy
Source§impl Default for SearchRuntimePolicy
impl Default for SearchRuntimePolicy
impl Eq for SearchRuntimePolicy
Source§impl PartialEq for SearchRuntimePolicy
impl PartialEq for SearchRuntimePolicy
impl StructuralPartialEq for SearchRuntimePolicy
Auto Trait Implementations§
impl Freeze for SearchRuntimePolicy
impl RefUnwindSafe for SearchRuntimePolicy
impl Send for SearchRuntimePolicy
impl Sync for SearchRuntimePolicy
impl Unpin for SearchRuntimePolicy
impl UnsafeUnpin for SearchRuntimePolicy
impl UnwindSafe for SearchRuntimePolicy
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more