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