#[non_exhaustive]pub struct Presets {
pub query: Option<Query>,
pub modality: Modality,
/* private fields */
}Available on crate features
dataset-service or deployment-resource-pool-service or endpoint-service or job-service or model-service or pipeline-service or prediction-service only.Expand description
Preset configuration for example-based explanations
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query: Option<Query>Preset option controlling parameters for speed-precision trade-off when
querying for examples. If omitted, defaults to PRECISE.
modality: ModalityThe modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Presets
Auto Trait Implementations§
impl Freeze for Presets
impl RefUnwindSafe for Presets
impl Send for Presets
impl Sync for Presets
impl Unpin for Presets
impl UnwindSafe for Presets
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