pub struct ClientInboundMessageSay {
pub type: Option<TypeTrue>,
pub interrupt_assistant_enabled: Option<bool>,
pub content: Option<String>,
pub end_call_after_spoken: Option<bool>,
pub interruptions_enabled: Option<bool>,
}
Fields§
§type: Option<TypeTrue>
This is the type of the message. Send "say" message to make the assistant say something.
interrupt_assistant_enabled: Option<bool>
This is the flag for whether the message should replace existing assistant speech. @default false
content: Option<String>
This is the content to say.
end_call_after_spoken: Option<bool>
This is the flag to end call after content is spoken.
interruptions_enabled: Option<bool>
This is the flag for whether the message is interruptible by the user.
Implementations§
Source§impl ClientInboundMessageSay
impl ClientInboundMessageSay
pub fn new() -> ClientInboundMessageSay
Trait Implementations§
Source§impl Clone for ClientInboundMessageSay
impl Clone for ClientInboundMessageSay
Source§fn clone(&self) -> ClientInboundMessageSay
fn clone(&self) -> ClientInboundMessageSay
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 ClientInboundMessageSay
impl Debug for ClientInboundMessageSay
Source§impl Default for ClientInboundMessageSay
impl Default for ClientInboundMessageSay
Source§fn default() -> ClientInboundMessageSay
fn default() -> ClientInboundMessageSay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientInboundMessageSay
impl<'de> Deserialize<'de> for ClientInboundMessageSay
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
Source§impl PartialEq for ClientInboundMessageSay
impl PartialEq for ClientInboundMessageSay
Source§impl Serialize for ClientInboundMessageSay
impl Serialize for ClientInboundMessageSay
impl StructuralPartialEq for ClientInboundMessageSay
Auto Trait Implementations§
impl Freeze for ClientInboundMessageSay
impl RefUnwindSafe for ClientInboundMessageSay
impl Send for ClientInboundMessageSay
impl Sync for ClientInboundMessageSay
impl Unpin for ClientInboundMessageSay
impl UnwindSafe for ClientInboundMessageSay
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