[−][src]Struct rusoto_kendra::QueryResultItem
A single query result.
A query result contains information about a document returned by the query. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.
Fields
additional_attributes: Option<Vec<AdditionalResultAttribute>>
document_attributes: Option<Vec<DocumentAttribute>>
An array of document attributes for the document that the query result maps to. For example, the document author (Author) or the source URI (SourceUri) of the document.
document_excerpt: Option<TextWithHighlights>
An extract of the text in the document. Contains information about highlighting the relevant terms in the excerpt.
document_id: Option<String>
The unique identifier for the document.
document_title: Option<TextWithHighlights>
The title of the document. Contains the text of the title and information for highlighting the relevant terms in the title.
document_uri: Option<String>
The URI of the original location of the document.
id: Option<String>
The unique identifier for the query result.
type_: Option<String>
The type of document.
Trait Implementations
impl Clone for QueryResultItem
[src]
fn clone(&self) -> QueryResultItem
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryResultItem
[src]
impl Default for QueryResultItem
[src]
fn default() -> QueryResultItem
[src]
impl<'de> Deserialize<'de> for QueryResultItem
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<QueryResultItem> for QueryResultItem
[src]
fn eq(&self, other: &QueryResultItem) -> bool
[src]
fn ne(&self, other: &QueryResultItem) -> bool
[src]
impl StructuralPartialEq for QueryResultItem
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryResultItem
impl Send for QueryResultItem
impl Sync for QueryResultItem
impl Unpin for QueryResultItem
impl UnwindSafe for QueryResultItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,