pub struct DbCommandVec {
pub cmd_path: String,
pub embedding: Vec<f32>,
}Expand description
Database record representing a single embedding vector in commands_vec.
Fields§
§cmd_path: String§embedding: Vec<f32>Trait Implementations§
Source§impl Clone for DbCommandVec
impl Clone for DbCommandVec
Source§fn clone(&self) -> DbCommandVec
fn clone(&self) -> DbCommandVec
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 DbCommandVec
impl Debug for DbCommandVec
Source§impl<'de> Deserialize<'de> for DbCommandVec
impl<'de> Deserialize<'de> for DbCommandVec
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 DbCommandVec
impl RefUnwindSafe for DbCommandVec
impl Send for DbCommandVec
impl Sync for DbCommandVec
impl Unpin for DbCommandVec
impl UnsafeUnpin for DbCommandVec
impl UnwindSafe for DbCommandVec
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