pub struct GoogleCloudDialogflowV2beta1AudioInput {
pub audio: Option<Vec<u8>>,
pub config: Option<GoogleCloudDialogflowV2beta1InputAudioConfig>,
}
Expand description
Represents the natural language speech audio to be processed.
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 to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
config: Option<GoogleCloudDialogflowV2beta1InputAudioConfig>
Required. Instructs the speech recognizer how to process the speech audio.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1AudioInput
impl Clone for GoogleCloudDialogflowV2beta1AudioInput
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1AudioInput
fn clone(&self) -> GoogleCloudDialogflowV2beta1AudioInput
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 GoogleCloudDialogflowV2beta1AudioInput
impl Default for GoogleCloudDialogflowV2beta1AudioInput
source§fn default() -> GoogleCloudDialogflowV2beta1AudioInput
fn default() -> GoogleCloudDialogflowV2beta1AudioInput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1AudioInput
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1AudioInput
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 GoogleCloudDialogflowV2beta1AudioInput
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1AudioInput
impl Send for GoogleCloudDialogflowV2beta1AudioInput
impl Sync for GoogleCloudDialogflowV2beta1AudioInput
impl Unpin for GoogleCloudDialogflowV2beta1AudioInput
impl UnwindSafe for GoogleCloudDialogflowV2beta1AudioInput
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