pub struct NtfyMsg {
pub topic: String,
pub message: Option<String>,
pub title: Option<String>,
pub tags: Option<Vec<String>>,
pub priority: Option<NtfyPriority>,
pub attach: Option<String>,
pub filename: Option<String>,
pub click: Option<String>,
pub actions: Option<Vec<NtfyAction>>,
pub delay: Option<String>,
pub email: Option<String>,
}Fields§
§topic: String§message: Option<String>§title: Option<String>§priority: Option<NtfyPriority>§attach: Option<String>§filename: Option<String>§click: Option<String>§actions: Option<Vec<NtfyAction>>§delay: Option<String>§email: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NtfyMsg
impl<'de> Deserialize<'de> for NtfyMsg
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 NtfyMsg
impl RefUnwindSafe for NtfyMsg
impl Send for NtfyMsg
impl Sync for NtfyMsg
impl Unpin for NtfyMsg
impl UnwindSafe for NtfyMsg
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