pub struct GoogleCloudDialogflowV2beta1OutputAudio {
pub audio: Option<Vec<u8>>,
pub config: Option<GoogleCloudDialogflowV2beta1OutputAudioConfig>,
}
Expand description
Represents the natural language speech audio to be played to the end user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§audio: Option<Vec<u8>>
Required. The natural language speech audio.
config: Option<GoogleCloudDialogflowV2beta1OutputAudioConfig>
Required. Instructs the speech synthesizer how to generate the speech audio.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1OutputAudio
impl Clone for GoogleCloudDialogflowV2beta1OutputAudio
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1OutputAudio
fn clone(&self) -> GoogleCloudDialogflowV2beta1OutputAudio
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 GoogleCloudDialogflowV2beta1OutputAudio
impl Default for GoogleCloudDialogflowV2beta1OutputAudio
source§fn default() -> GoogleCloudDialogflowV2beta1OutputAudio
fn default() -> GoogleCloudDialogflowV2beta1OutputAudio
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1OutputAudio
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1OutputAudio
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 GoogleCloudDialogflowV2beta1OutputAudio
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1OutputAudio
impl Send for GoogleCloudDialogflowV2beta1OutputAudio
impl Sync for GoogleCloudDialogflowV2beta1OutputAudio
impl Unpin for GoogleCloudDialogflowV2beta1OutputAudio
impl UnwindSafe for GoogleCloudDialogflowV2beta1OutputAudio
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