pub struct PushoverConfig {
pub token: Option<String>,
pub token_env: Option<String>,
pub user: Option<String>,
pub user_env: Option<String>,
pub device: Option<String>,
pub sound: Option<String>,
}Fields§
§token: Option<String>§token_env: Option<String>§user: Option<String>§user_env: Option<String>§device: Option<String>§sound: Option<String>Trait Implementations§
Source§impl Clone for PushoverConfig
impl Clone for PushoverConfig
Source§fn clone(&self) -> PushoverConfig
fn clone(&self) -> PushoverConfig
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 PushoverConfig
impl Debug for PushoverConfig
Source§impl<'de> Deserialize<'de> for PushoverConfig
impl<'de> Deserialize<'de> for PushoverConfig
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 PushoverConfig
impl RefUnwindSafe for PushoverConfig
impl Send for PushoverConfig
impl Sync for PushoverConfig
impl Unpin for PushoverConfig
impl UnsafeUnpin for PushoverConfig
impl UnwindSafe for PushoverConfig
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