pub struct LiveRequest {
pub content: Option<Content>,
pub blob: Option<Blob>,
pub activity_start: Option<ActivityStart>,
pub activity_end: Option<ActivityEnd>,
pub close: Option<bool>,
}Expand description
Request sent to live agents.
Fields§
§content: Option<Content>If set, send the content to the model in turn-by-turn mode.
blob: Option<Blob>If set, send the blob to the model in realtime mode.
activity_start: Option<ActivityStart>If set, signal the start of user activity to the model.
activity_end: Option<ActivityEnd>If set, signal the end of user activity to the model.
close: Option<bool>If set, close the queue.
Trait Implementations§
Source§impl Clone for LiveRequest
impl Clone for LiveRequest
Source§fn clone(&self) -> LiveRequest
fn clone(&self) -> LiveRequest
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 LiveRequest
impl Debug for LiveRequest
Source§impl Default for LiveRequest
impl Default for LiveRequest
Source§fn default() -> LiveRequest
fn default() -> LiveRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LiveRequest
impl RefUnwindSafe for LiveRequest
impl Send for LiveRequest
impl Sync for LiveRequest
impl Unpin for LiveRequest
impl UnwindSafe for LiveRequest
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