pub struct MessageSendConfiguration {
pub accepted_output_modes: Vec<String>,
pub blocking: bool,
pub history_length: Option<u32>,
pub push_notification_config: Option<PushNotificationConfig>,
}Expand description
Configuration for sending a message.
Fields§
§accepted_output_modes: Vec<String>§blocking: bool§history_length: Option<u32>§push_notification_config: Option<PushNotificationConfig>Trait Implementations§
Source§impl Debug for MessageSendConfiguration
impl Debug for MessageSendConfiguration
Source§impl Default for MessageSendConfiguration
impl Default for MessageSendConfiguration
Source§fn default() -> MessageSendConfiguration
fn default() -> MessageSendConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSendConfiguration
impl<'de> Deserialize<'de> for MessageSendConfiguration
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageSendConfiguration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageSendConfiguration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MessageSendConfiguration
impl Serialize for MessageSendConfiguration
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 UnsafeUnpin 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