pub struct GoogleCloudDialogflowV2SmartReplyAnswer {
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 GoogleCloudDialogflowV2SmartReplyAnswer
impl Clone for GoogleCloudDialogflowV2SmartReplyAnswer
source§fn clone(&self) -> GoogleCloudDialogflowV2SmartReplyAnswer
fn clone(&self) -> GoogleCloudDialogflowV2SmartReplyAnswer
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 GoogleCloudDialogflowV2SmartReplyAnswer
impl Default for GoogleCloudDialogflowV2SmartReplyAnswer
source§fn default() -> GoogleCloudDialogflowV2SmartReplyAnswer
fn default() -> GoogleCloudDialogflowV2SmartReplyAnswer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SmartReplyAnswer
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SmartReplyAnswer
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 GoogleCloudDialogflowV2SmartReplyAnswer
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2SmartReplyAnswer
impl Send for GoogleCloudDialogflowV2SmartReplyAnswer
impl Sync for GoogleCloudDialogflowV2SmartReplyAnswer
impl Unpin for GoogleCloudDialogflowV2SmartReplyAnswer
impl UnwindSafe for GoogleCloudDialogflowV2SmartReplyAnswer
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