pub struct GoogleCloudDialogflowV2ArticleAnswer {
pub answer_record: Option<String>,
pub confidence: Option<f32>,
pub metadata: Option<HashMap<String, String>>,
pub snippets: Option<Vec<String>>,
pub title: Option<String>,
pub uri: Option<String>,
}
Expand description
Represents article answer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§answer_record: Option<String>
The name of answer record, in the format of “projects//locations//answerRecords/”
confidence: Option<f32>
Article match confidence. The system’s confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
metadata: Option<HashMap<String, String>>
A map that contains metadata about the answer and the document from which it originates.
snippets: Option<Vec<String>>
Article snippets.
title: Option<String>
The article title.
uri: Option<String>
The article URI.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2ArticleAnswer
impl Clone for GoogleCloudDialogflowV2ArticleAnswer
Source§fn clone(&self) -> GoogleCloudDialogflowV2ArticleAnswer
fn clone(&self) -> GoogleCloudDialogflowV2ArticleAnswer
Returns a copy 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 GoogleCloudDialogflowV2ArticleAnswer
impl Default for GoogleCloudDialogflowV2ArticleAnswer
Source§fn default() -> GoogleCloudDialogflowV2ArticleAnswer
fn default() -> GoogleCloudDialogflowV2ArticleAnswer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ArticleAnswer
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ArticleAnswer
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
impl Part for GoogleCloudDialogflowV2ArticleAnswer
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2ArticleAnswer
impl RefUnwindSafe for GoogleCloudDialogflowV2ArticleAnswer
impl Send for GoogleCloudDialogflowV2ArticleAnswer
impl Sync for GoogleCloudDialogflowV2ArticleAnswer
impl Unpin for GoogleCloudDialogflowV2ArticleAnswer
impl UnwindSafe for GoogleCloudDialogflowV2ArticleAnswer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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