pub struct AttackNotificationSettings {
pub email_notification: bool,
pub discord_webhook_url: Option<String>,
}Fields§
§email_notification: bool§discord_webhook_url: Option<String>Trait Implementations§
Source§impl Debug for AttackNotificationSettings
impl Debug for AttackNotificationSettings
Source§impl<'de> Deserialize<'de> for AttackNotificationSettings
impl<'de> Deserialize<'de> for AttackNotificationSettings
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 AttackNotificationSettings
impl RefUnwindSafe for AttackNotificationSettings
impl Send for AttackNotificationSettings
impl Sync for AttackNotificationSettings
impl Unpin for AttackNotificationSettings
impl UnwindSafe for AttackNotificationSettings
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