pub struct GoogleCloudDialogflowV2beta1SmartReplyAnswer {
pub answer_record: Option<String>,
pub confidence: Option<f32>,
pub reply: Option<String>,
}
Expand description
Represents a smart reply 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>
Smart reply confidence. The system’s confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
reply: Option<String>
The content of the reply.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl Clone for GoogleCloudDialogflowV2beta1SmartReplyAnswer
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1SmartReplyAnswer
fn clone(&self) -> GoogleCloudDialogflowV2beta1SmartReplyAnswer
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 GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl Default for GoogleCloudDialogflowV2beta1SmartReplyAnswer
source§fn default() -> GoogleCloudDialogflowV2beta1SmartReplyAnswer
fn default() -> GoogleCloudDialogflowV2beta1SmartReplyAnswer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1SmartReplyAnswer
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 GoogleCloudDialogflowV2beta1SmartReplyAnswer
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl Send for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl Sync for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl Unpin for GoogleCloudDialogflowV2beta1SmartReplyAnswer
impl UnwindSafe for GoogleCloudDialogflowV2beta1SmartReplyAnswer
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