pub struct ClientInboundMessageControl {
pub type: TypeTrue,
pub control: ControlTrue,
}
Fields§
§type: TypeTrue
This is the type of the message. Send "control" message to control the assistant. control
options are: - "mute-assistant" - mute the assistant - "unmute-assistant" - unmute the assistant - "say-first-message" - say the first message (this is used when video recording is enabled and the conversation is only started once the client side kicks off the recording)
control: ControlTrue
This is the control action
Implementations§
Source§impl ClientInboundMessageControl
impl ClientInboundMessageControl
pub fn new(type: TypeTrue, control: ControlTrue) -> ClientInboundMessageControl
Trait Implementations§
Source§impl Clone for ClientInboundMessageControl
impl Clone for ClientInboundMessageControl
Source§fn clone(&self) -> ClientInboundMessageControl
fn clone(&self) -> ClientInboundMessageControl
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClientInboundMessageControl
impl Debug for ClientInboundMessageControl
Source§impl Default for ClientInboundMessageControl
impl Default for ClientInboundMessageControl
Source§fn default() -> ClientInboundMessageControl
fn default() -> ClientInboundMessageControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientInboundMessageControl
impl<'de> Deserialize<'de> for ClientInboundMessageControl
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 StructuralPartialEq for ClientInboundMessageControl
Auto Trait Implementations§
impl Freeze for ClientInboundMessageControl
impl RefUnwindSafe for ClientInboundMessageControl
impl Send for ClientInboundMessageControl
impl Sync for ClientInboundMessageControl
impl Unpin for ClientInboundMessageControl
impl UnwindSafe for ClientInboundMessageControl
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