pub struct SearchResponse {
pub next_token: Option<String>,
pub results: Option<Vec<SearchRecord>>,
}
Fields§
§next_token: Option<String>
If the result of the previous Search
request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.
results: Option<Vec<SearchRecord>>
A list of SearchRecord
objects.
Trait Implementations§
Source§impl Clone for SearchResponse
impl Clone for SearchResponse
Source§fn clone(&self) -> SearchResponse
fn clone(&self) -> SearchResponse
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 SearchResponse
impl Debug for SearchResponse
Source§impl Default for SearchResponse
impl Default for SearchResponse
Source§fn default() -> SearchResponse
fn default() -> SearchResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchResponse
impl<'de> Deserialize<'de> for SearchResponse
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
Source§impl PartialEq for SearchResponse
impl PartialEq for SearchResponse
impl StructuralPartialEq for SearchResponse
Auto Trait Implementations§
impl Freeze for SearchResponse
impl RefUnwindSafe for SearchResponse
impl Send for SearchResponse
impl Sync for SearchResponse
impl Unpin for SearchResponse
impl UnwindSafe for SearchResponse
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