pub struct SlackConfig {
pub enabled: bool,
pub mode: String,
pub webhook_path: String,
pub bot_token: String,
pub app_token: String,
pub user_token_read_only: bool,
pub group_policy: String,
pub group_allow_from: Vec<String>,
pub dm: SlackDMConfig,
}Expand description
Slack channel configuration
Fields§
§enabled: bool§mode: String§webhook_path: String§bot_token: String§app_token: String§user_token_read_only: bool§group_policy: String§group_allow_from: Vec<String>§dm: SlackDMConfigTrait Implementations§
Source§impl Clone for SlackConfig
impl Clone for SlackConfig
Source§fn clone(&self) -> SlackConfig
fn clone(&self) -> SlackConfig
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 SlackConfig
impl Debug for SlackConfig
Source§impl Default for SlackConfig
impl Default for SlackConfig
Source§impl<'de> Deserialize<'de> for SlackConfig
impl<'de> Deserialize<'de> for SlackConfig
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 SlackConfig
impl RefUnwindSafe for SlackConfig
impl Send for SlackConfig
impl Sync for SlackConfig
impl Unpin for SlackConfig
impl UnsafeUnpin for SlackConfig
impl UnwindSafe for SlackConfig
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