pub struct NtfyResponse {
pub id: String,
pub time: u64,
pub event: String,
pub topic: String,
pub message: Option<String>,
pub title: Option<String>,
pub tags: Option<Vec<String>>,
pub priority: Option<NtfyPriority>,
pub click: Option<String>,
pub action: Option<Vec<NtfyAction>>,
pub attachment: Option<NtfyAttachment>,
}Fields§
§id: String§time: u64§event: String§topic: String§message: Option<String>§title: Option<String>§priority: Option<NtfyPriority>§click: Option<String>§action: Option<Vec<NtfyAction>>§attachment: Option<NtfyAttachment>Trait Implementations§
Source§impl Clone for NtfyResponse
impl Clone for NtfyResponse
Source§fn clone(&self) -> NtfyResponse
fn clone(&self) -> NtfyResponse
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 NtfyResponse
impl Debug for NtfyResponse
Source§impl Default for NtfyResponse
impl Default for NtfyResponse
Source§fn default() -> NtfyResponse
fn default() -> NtfyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NtfyResponse
impl<'de> Deserialize<'de> for NtfyResponse
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 NtfyResponse
impl RefUnwindSafe for NtfyResponse
impl Send for NtfyResponse
impl Sync for NtfyResponse
impl Unpin for NtfyResponse
impl UnwindSafe for NtfyResponse
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