pub struct ExternalNotifyConfig {
pub webhook_url: Option<String>,
pub telegram_bot_token: Option<String>,
pub telegram_chat_id: Option<String>,
pub discord_webhook_url: Option<String>,
pub slack_webhook_url: Option<String>,
}Fields§
§webhook_url: Option<String>§telegram_bot_token: Option<String>§telegram_chat_id: Option<String>§discord_webhook_url: Option<String>§slack_webhook_url: Option<String>Trait Implementations§
Source§impl Clone for ExternalNotifyConfig
impl Clone for ExternalNotifyConfig
Source§fn clone(&self) -> ExternalNotifyConfig
fn clone(&self) -> ExternalNotifyConfig
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 ExternalNotifyConfig
impl Debug for ExternalNotifyConfig
Source§impl Default for ExternalNotifyConfig
impl Default for ExternalNotifyConfig
Source§fn default() -> ExternalNotifyConfig
fn default() -> ExternalNotifyConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalNotifyConfig
impl<'de> Deserialize<'de> for ExternalNotifyConfig
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 ExternalNotifyConfig
impl RefUnwindSafe for ExternalNotifyConfig
impl Send for ExternalNotifyConfig
impl Sync for ExternalNotifyConfig
impl Unpin for ExternalNotifyConfig
impl UnsafeUnpin for ExternalNotifyConfig
impl UnwindSafe for ExternalNotifyConfig
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