pub struct GoogleCloudDialogflowV2beta1FaqAnswer {
pub answer: Option<String>,
pub answer_record: Option<String>,
pub confidence: Option<f32>,
pub metadata: Option<HashMap<String, String>>,
pub question: Option<String>,
pub source: Option<String>,
}
Expand description
Represents answer from “frequently asked questions”.
This type is not used in any activity, and only used as part of another schema.
Fields§
§answer: Option<String>
The piece of text from the source
knowledge base document.
answer_record: Option<String>
The name of answer record, in the format of “projects//locations//answerRecords/”
confidence: Option<f32>
The system’s confidence score that this Knowledge answer is a good match for this conversational query, range 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.
question: Option<String>
The corresponding FAQ question.
source: Option<String>
Indicates which Knowledge Document this answer was extracted from. Format: projects//locations//agent/knowledgeBases//documents/
.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1FaqAnswer
impl Clone for GoogleCloudDialogflowV2beta1FaqAnswer
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1FaqAnswer
fn clone(&self) -> GoogleCloudDialogflowV2beta1FaqAnswer
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 GoogleCloudDialogflowV2beta1FaqAnswer
impl Default for GoogleCloudDialogflowV2beta1FaqAnswer
source§fn default() -> GoogleCloudDialogflowV2beta1FaqAnswer
fn default() -> GoogleCloudDialogflowV2beta1FaqAnswer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1FaqAnswer
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1FaqAnswer
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 GoogleCloudDialogflowV2beta1FaqAnswer
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1FaqAnswer
impl Send for GoogleCloudDialogflowV2beta1FaqAnswer
impl Sync for GoogleCloudDialogflowV2beta1FaqAnswer
impl Unpin for GoogleCloudDialogflowV2beta1FaqAnswer
impl UnwindSafe for GoogleCloudDialogflowV2beta1FaqAnswer
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