Struct aws_sdk_cloudsearchdomain::types::Hits
source · #[non_exhaustive]pub struct Hits {
pub found: i64,
pub start: i64,
pub cursor: Option<String>,
pub hit: Option<Vec<Hit>>,
}
Expand description
The collection of documents that match the search request.
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.found: i64
The total number of documents that match the search request.
start: i64
The index of the first matching document.
cursor: Option<String>
A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.
hit: Option<Vec<Hit>>
A document that matches the search request.
Implementations§
Trait Implementations§
source§impl PartialEq for Hits
impl PartialEq for Hits
impl StructuralPartialEq for Hits
Auto Trait Implementations§
impl Freeze for Hits
impl RefUnwindSafe for Hits
impl Send for Hits
impl Sync for Hits
impl Unpin for Hits
impl UnwindSafe for Hits
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.