pub struct ChannelsGlobalConfig {
pub message_timeout_secs: u64,
pub group_reply: HashMap<String, GroupReplyConfig>,
pub ack_reaction: HashMap<String, AckReactionConfig>,
pub stream_mode: String,
pub draft_update_interval_ms: u64,
pub interrupt_on_new_message: bool,
pub default_privacy_boundary: String,
}Fields§
§message_timeout_secs: u64§group_reply: HashMap<String, GroupReplyConfig>§ack_reaction: HashMap<String, AckReactionConfig>§stream_mode: String§draft_update_interval_ms: u64§interrupt_on_new_message: bool§default_privacy_boundary: StringDefault privacy boundary applied to all channels unless overridden.
Empty string means inherit the global privacy.mode.
Trait Implementations§
Source§impl Clone for ChannelsGlobalConfig
impl Clone for ChannelsGlobalConfig
Source§fn clone(&self) -> ChannelsGlobalConfig
fn clone(&self) -> ChannelsGlobalConfig
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 ChannelsGlobalConfig
impl Debug for ChannelsGlobalConfig
Source§impl Default for ChannelsGlobalConfig
impl Default for ChannelsGlobalConfig
Source§impl<'de> Deserialize<'de> for ChannelsGlobalConfigwhere
ChannelsGlobalConfig: Default,
impl<'de> Deserialize<'de> for ChannelsGlobalConfigwhere
ChannelsGlobalConfig: Default,
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 ChannelsGlobalConfig
impl RefUnwindSafe for ChannelsGlobalConfig
impl Send for ChannelsGlobalConfig
impl Sync for ChannelsGlobalConfig
impl Unpin for ChannelsGlobalConfig
impl UnsafeUnpin for ChannelsGlobalConfig
impl UnwindSafe for ChannelsGlobalConfig
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