Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
source · pub struct GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo {
pub key: Option<String>,
pub synonyms: Option<Vec<String>>,
}
Expand description
Additional info about the select item for when it is triggered in a dialog.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>
Required. A unique key that will be sent back to the agent if this response is given.
synonyms: Option<Vec<String>>
Optional. A list of synonyms that can also be used to trigger this item in dialog.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
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 GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl Default for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
source§fn default() -> GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
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 GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl Send for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl Sync for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl Unpin for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
impl UnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
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