pub struct CollectionDataRecord {
pub id: String,
pub data: HashMap<String, Value>,
pub vectors: Option<HashMap<String, Vec<f32>>>,
}Fields§
§id: String§data: HashMap<String, Value>§vectors: Option<HashMap<String, Vec<f32>>>Trait Implementations§
Source§impl Clone for CollectionDataRecord
impl Clone for CollectionDataRecord
Source§fn clone(&self) -> CollectionDataRecord
fn clone(&self) -> CollectionDataRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 CollectionDataRecord
impl Debug for CollectionDataRecord
Source§impl<'de> Deserialize<'de> for CollectionDataRecord
impl<'de> Deserialize<'de> for CollectionDataRecord
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 CollectionDataRecord
impl RefUnwindSafe for CollectionDataRecord
impl Send for CollectionDataRecord
impl Sync for CollectionDataRecord
impl Unpin for CollectionDataRecord
impl UnsafeUnpin for CollectionDataRecord
impl UnwindSafe for CollectionDataRecord
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