pub struct MattermostConfig {
pub enabled: bool,
pub base_url: String,
pub bot_token: String,
pub channel_id: String,
pub thread_replies: bool,
pub mention_only: bool,
pub poll_interval_seconds: u64,
pub allow_from: Vec<String>,
}Expand description
Mattermost channel configuration
Fields§
§enabled: bool§base_url: String§bot_token: String§channel_id: String§thread_replies: bool§mention_only: bool§poll_interval_seconds: u64§allow_from: Vec<String>Trait Implementations§
Source§impl Clone for MattermostConfig
impl Clone for MattermostConfig
Source§fn clone(&self) -> MattermostConfig
fn clone(&self) -> MattermostConfig
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 MattermostConfig
impl Debug for MattermostConfig
Source§impl Default for MattermostConfig
impl Default for MattermostConfig
Source§impl<'de> Deserialize<'de> for MattermostConfig
impl<'de> Deserialize<'de> for MattermostConfig
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 MattermostConfig
impl RefUnwindSafe for MattermostConfig
impl Send for MattermostConfig
impl Sync for MattermostConfig
impl Unpin for MattermostConfig
impl UnsafeUnpin for MattermostConfig
impl UnwindSafe for MattermostConfig
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