pub struct VectorFieldConfig {
pub dimension: usize,
pub model_id: Option<String>,
pub format: Option<String>,
}Expand description
向量字段配置
Fields§
§dimension: usize§model_id: Option<String>§format: Option<String>Trait Implementations§
Source§impl Clone for VectorFieldConfig
impl Clone for VectorFieldConfig
Source§fn clone(&self) -> VectorFieldConfig
fn clone(&self) -> VectorFieldConfig
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 VectorFieldConfig
impl Debug for VectorFieldConfig
Source§impl<'de> Deserialize<'de> for VectorFieldConfig
impl<'de> Deserialize<'de> for VectorFieldConfig
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
Auto Trait Implementations§
impl Freeze for VectorFieldConfig
impl RefUnwindSafe for VectorFieldConfig
impl Send for VectorFieldConfig
impl Sync for VectorFieldConfig
impl Unpin for VectorFieldConfig
impl UnsafeUnpin for VectorFieldConfig
impl UnwindSafe for VectorFieldConfig
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