Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
source · pub struct GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction {
pub dial: Option<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial>,
pub open_url: Option<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri>,
pub postback_data: Option<String>,
pub share_location: Option<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation>,
pub text: Option<String>,
}
Expand description
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dial: Option<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial>
Suggested client side action: Dial a phone number
open_url: Option<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri>
Suggested client side action: Open a URI on device
postback_data: Option<String>
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
Suggested client side action: Share user location
text: Option<String>
Text to display alongside the action.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
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 GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl Default for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
source§fn default() -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
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 GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl Send for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl Sync for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl Unpin for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
impl UnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
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