pub struct BatchAddObject {
pub class: String,
pub properties: Value,
pub id: Option<Uuid>,
pub vector: Option<Vec<f64>>,
pub tenant: Option<String>,
pub creation_time_unix: Option<u64>,
pub last_update_time_unix: Option<u64>,
pub vector_weights: Option<u64>,
pub result: ResultStatus,
}Expand description
This is basically the same as the collections::objects variant of an Object, however there is an extra field which Weaviate polls with a ResultStatus.
There should be no need to manually create this object, it forms part of the response from the batch add endpoint.
Fields§
§class: String§properties: Value§id: Option<Uuid>§vector: Option<Vec<f64>>§tenant: Option<String>§creation_time_unix: Option<u64>§last_update_time_unix: Option<u64>§vector_weights: Option<u64>§result: ResultStatusImplementations§
Trait Implementations§
Source§impl Debug for BatchAddObject
impl Debug for BatchAddObject
Source§impl<'de> Deserialize<'de> for BatchAddObject
impl<'de> Deserialize<'de> for BatchAddObject
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 BatchAddObject
impl RefUnwindSafe for BatchAddObject
impl Send for BatchAddObject
impl Sync for BatchAddObject
impl Unpin for BatchAddObject
impl UnwindSafe for BatchAddObject
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