pub struct LiveSendRealtimeInputParameters {
pub media: Option<Blob>,
pub audio: Option<Blob>,
pub audio_stream_end: Option<bool>,
pub video: Option<Blob>,
pub text: Option<String>,
pub activity_start: Option<ActivityStart>,
pub activity_end: Option<ActivityEnd>,
}Expand description
Parameters for sending realtime input to the live API.
Fields§
§media: Option<Blob>§audio: Option<Blob>§audio_stream_end: Option<bool>§video: Option<Blob>§text: Option<String>§activity_start: Option<ActivityStart>§activity_end: Option<ActivityEnd>Trait Implementations§
Source§impl Clone for LiveSendRealtimeInputParameters
impl Clone for LiveSendRealtimeInputParameters
Source§fn clone(&self) -> LiveSendRealtimeInputParameters
fn clone(&self) -> LiveSendRealtimeInputParameters
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<'de> Deserialize<'de> for LiveSendRealtimeInputParameters
impl<'de> Deserialize<'de> for LiveSendRealtimeInputParameters
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
Auto Trait Implementations§
impl Freeze for LiveSendRealtimeInputParameters
impl RefUnwindSafe for LiveSendRealtimeInputParameters
impl Send for LiveSendRealtimeInputParameters
impl Sync for LiveSendRealtimeInputParameters
impl Unpin for LiveSendRealtimeInputParameters
impl UnsafeUnpin for LiveSendRealtimeInputParameters
impl UnwindSafe for LiveSendRealtimeInputParameters
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