pub struct MessageSendConfiguration {
pub accepted_output_modes: Vec<String>,
pub history_length: Option<u32>,
pub push_notification_config: Option<PushNotificationConfig>,
pub blocking: Option<bool>,
}
Expand description
Configuration options for sending messages including output modes and notifications.
Specifies how a message should be processed and delivered:
accepted_output_modes
: Output formats the client can handlehistory_length
: Limit on conversation history to includepush_notification_config
: Settings for push notificationsblocking
: Whether the request should wait for completion
Fields§
§accepted_output_modes: Vec<String>
§history_length: Option<u32>
§push_notification_config: Option<PushNotificationConfig>
§blocking: Option<bool>
Trait Implementations§
Source§impl Clone for MessageSendConfiguration
impl Clone for MessageSendConfiguration
Source§fn clone(&self) -> MessageSendConfiguration
fn clone(&self) -> MessageSendConfiguration
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 MessageSendConfiguration
impl Debug for MessageSendConfiguration
Source§impl<'de> Deserialize<'de> for MessageSendConfiguration
impl<'de> Deserialize<'de> for MessageSendConfiguration
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 MessageSendConfiguration
impl RefUnwindSafe for MessageSendConfiguration
impl Send for MessageSendConfiguration
impl Sync for MessageSendConfiguration
impl Unpin for MessageSendConfiguration
impl UnwindSafe for MessageSendConfiguration
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