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