#[non_exhaustive]pub struct BatchSearchDataObjectsResponse {
pub results: Vec<SearchDataObjectsResponse>,
/* private fields */
}Expand description
A response from a batch search operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.results: Vec<SearchDataObjectsResponse>Output only. A list of search responses, one for each request in the batch. If a ranker is used, a single ranked list of results is returned.
Implementations§
Source§impl BatchSearchDataObjectsResponse
impl BatchSearchDataObjectsResponse
pub fn new() -> Self
Sourcepub fn set_results<T, V>(self, v: T) -> Self
pub fn set_results<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for BatchSearchDataObjectsResponse
impl Clone for BatchSearchDataObjectsResponse
Source§fn clone(&self) -> BatchSearchDataObjectsResponse
fn clone(&self) -> BatchSearchDataObjectsResponse
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 Default for BatchSearchDataObjectsResponse
impl Default for BatchSearchDataObjectsResponse
Source§fn default() -> BatchSearchDataObjectsResponse
fn default() -> BatchSearchDataObjectsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchSearchDataObjectsResponse
impl PartialEq for BatchSearchDataObjectsResponse
Source§fn eq(&self, other: &BatchSearchDataObjectsResponse) -> bool
fn eq(&self, other: &BatchSearchDataObjectsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchSearchDataObjectsResponse
Auto Trait Implementations§
impl Freeze for BatchSearchDataObjectsResponse
impl RefUnwindSafe for BatchSearchDataObjectsResponse
impl Send for BatchSearchDataObjectsResponse
impl Sync for BatchSearchDataObjectsResponse
impl Unpin for BatchSearchDataObjectsResponse
impl UnsafeUnpin for BatchSearchDataObjectsResponse
impl UnwindSafe for BatchSearchDataObjectsResponse
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