Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
source · pub struct GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply {
pub postback_data: Option<String>,
pub text: Option<String>,
}
Expand description
Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.
This type is not used in any activity, and only used as part of another schema.
Fields§
§postback_data: Option<String>
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
text: Option<String>
Suggested reply text.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
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 GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl Default for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
source§fn default() -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
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 GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl Send for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl Sync for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl Unpin for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
impl UnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
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