pub struct KnnVectorMethod {
pub engine: Option<String>,
pub space_type: Option<String>,
pub parameters: Option<Value>,
pub name: String,
}Fields§
§engine: Option<String>§space_type: Option<String>§parameters: Option<Value>§name: StringImplementations§
Source§impl KnnVectorMethod
impl KnnVectorMethod
pub fn new(name: String) -> KnnVectorMethod
Trait Implementations§
Source§impl Clone for KnnVectorMethod
impl Clone for KnnVectorMethod
Source§fn clone(&self) -> KnnVectorMethod
fn clone(&self) -> KnnVectorMethod
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 KnnVectorMethod
impl Debug for KnnVectorMethod
Source§impl Default for KnnVectorMethod
impl Default for KnnVectorMethod
Source§fn default() -> KnnVectorMethod
fn default() -> KnnVectorMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KnnVectorMethod
impl<'de> Deserialize<'de> for KnnVectorMethod
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
Source§impl PartialEq for KnnVectorMethod
impl PartialEq for KnnVectorMethod
Source§fn eq(&self, other: &KnnVectorMethod) -> bool
fn eq(&self, other: &KnnVectorMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KnnVectorMethod
impl Serialize for KnnVectorMethod
impl StructuralPartialEq for KnnVectorMethod
Auto Trait Implementations§
impl Freeze for KnnVectorMethod
impl RefUnwindSafe for KnnVectorMethod
impl Send for KnnVectorMethod
impl Sync for KnnVectorMethod
impl Unpin for KnnVectorMethod
impl UnsafeUnpin for KnnVectorMethod
impl UnwindSafe for KnnVectorMethod
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