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