pub enum SlackPrivacyMode {
DmOnly,
DmAndMentions,
}Variants§
DmOnly
Only DMs to the bot reach the agent. Channel mentions are dropped.
DmAndMentions
DMs and @mentions in channels both reach the agent (default).
Trait Implementations§
Source§impl Clone for SlackPrivacyMode
impl Clone for SlackPrivacyMode
Source§fn clone(&self) -> SlackPrivacyMode
fn clone(&self) -> SlackPrivacyMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackPrivacyMode
impl Debug for SlackPrivacyMode
Source§impl Default for SlackPrivacyMode
impl Default for SlackPrivacyMode
Source§fn default() -> SlackPrivacyMode
fn default() -> SlackPrivacyMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlackPrivacyMode
impl<'de> Deserialize<'de> for SlackPrivacyMode
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 SlackPrivacyMode
impl PartialEq for SlackPrivacyMode
Source§fn eq(&self, other: &SlackPrivacyMode) -> bool
fn eq(&self, other: &SlackPrivacyMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SlackPrivacyMode
impl Serialize for SlackPrivacyMode
impl Eq for SlackPrivacyMode
impl StructuralPartialEq for SlackPrivacyMode
Auto Trait Implementations§
impl Freeze for SlackPrivacyMode
impl RefUnwindSafe for SlackPrivacyMode
impl Send for SlackPrivacyMode
impl Sync for SlackPrivacyMode
impl Unpin for SlackPrivacyMode
impl UnsafeUnpin for SlackPrivacyMode
impl UnwindSafe for SlackPrivacyMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.