#[non_exhaustive]pub enum StreamingRequest {
StreamingConfig(Box<StreamingRecognitionConfig>),
Audio(Bytes),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StreamingConfig(Box<StreamingRecognitionConfig>)
StreamingRecognitionConfig to be used in this recognition attempt. If provided, it will override the default RecognitionConfig stored in the Recognizer.
Audio(Bytes)
Inline audio bytes to be Recognized. Maximum size for this field is 15 KB per request.
Trait Implementations§
Source§impl Clone for StreamingRequest
impl Clone for StreamingRequest
Source§fn clone(&self) -> StreamingRequest
fn clone(&self) -> StreamingRequest
Returns a duplicate 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 Debug for StreamingRequest
impl Debug for StreamingRequest
Source§impl PartialEq for StreamingRequest
impl PartialEq for StreamingRequest
impl StructuralPartialEq for StreamingRequest
Auto Trait Implementations§
impl !Freeze for StreamingRequest
impl RefUnwindSafe for StreamingRequest
impl Send for StreamingRequest
impl Sync for StreamingRequest
impl Unpin for StreamingRequest
impl UnwindSafe for StreamingRequest
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