pub struct SlackWebhookConfig {
pub webhook_url: Option<String>,
pub webhook_url_env: Option<String>,
pub username: Option<String>,
pub icon_emoji: Option<String>,
pub icon_url: Option<String>,
pub allow_mentions: Option<bool>,
}Fields§
§webhook_url: Option<String>§webhook_url_env: Option<String>§username: Option<String>§icon_emoji: Option<String>§icon_url: Option<String>§allow_mentions: Option<bool>Trait Implementations§
Source§impl Clone for SlackWebhookConfig
impl Clone for SlackWebhookConfig
Source§fn clone(&self) -> SlackWebhookConfig
fn clone(&self) -> SlackWebhookConfig
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 SlackWebhookConfig
impl Debug for SlackWebhookConfig
Source§impl<'de> Deserialize<'de> for SlackWebhookConfig
impl<'de> Deserialize<'de> for SlackWebhookConfig
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 SlackWebhookConfig
impl RefUnwindSafe for SlackWebhookConfig
impl Send for SlackWebhookConfig
impl Sync for SlackWebhookConfig
impl Unpin for SlackWebhookConfig
impl UnsafeUnpin for SlackWebhookConfig
impl UnwindSafe for SlackWebhookConfig
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