Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
source · pub struct GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse {
pub display_text: Option<String>,
pub ssml: Option<String>,
pub text_to_speech: Option<String>,
}
Expand description
The simple response message containing speech or text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_text: Option<String>
Optional. The text to display.
ssml: Option<String>
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
text_to_speech: Option<String>
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
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 GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl Default for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
source§fn default() -> GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
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 GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl Send for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl Sync for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl Unpin for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
impl UnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
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