pub struct GetRequest {
pub ids: Vec<PointId>,
pub filter: Option<Filter>,
pub offset: usize,
pub limit: Option<usize>,
pub with_payload: bool,
pub with_vector: bool,
}Expand description
A deterministic point-retrieval request.
Fields§
§ids: Vec<PointId>Optional typed IDs; when combined with a filter, both must match.
filter: Option<Filter>Optional payload or ID filter.
offset: usizeNumber of canonically ordered matches to skip.
limit: Option<usize>Maximum matches to return, or all remaining matches when None.
with_payload: boolWhether results include payloads.
with_vector: boolWhether results include vectors.
Trait Implementations§
Source§impl Clone for GetRequest
impl Clone for GetRequest
Source§impl Debug for GetRequest
impl Debug for GetRequest
Source§impl Default for GetRequest
impl Default for GetRequest
Source§impl<'de> Deserialize<'de> for GetRequestwhere
GetRequest: Default,
impl<'de> Deserialize<'de> for GetRequestwhere
GetRequest: Default,
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 GetRequest
impl RefUnwindSafe for GetRequest
impl Send for GetRequest
impl Sync for GetRequest
impl Unpin for GetRequest
impl UnsafeUnpin for GetRequest
impl UnwindSafe for GetRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more