pub struct NtfyTarget {
pub url: String,
pub topic: String,
}Expand description
Where a notification for ntfy goes.
Fields§
§url: StringThe url the message is posted to as JSON, which ntfy takes at the root of the server and nowhere else: the url of the topic without its last part.
topic: StringThe topic, which the JSON names.
Trait Implementations§
Source§impl Clone for NtfyTarget
impl Clone for NtfyTarget
Source§impl Debug for NtfyTarget
impl Debug for NtfyTarget
Source§impl PartialEq for NtfyTarget
impl PartialEq for NtfyTarget
impl StructuralPartialEq for NtfyTarget
Auto Trait Implementations§
impl Freeze for NtfyTarget
impl RefUnwindSafe for NtfyTarget
impl Send for NtfyTarget
impl Sync for NtfyTarget
impl Unpin for NtfyTarget
impl UnsafeUnpin for NtfyTarget
impl UnwindSafe for NtfyTarget
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