pub struct NotifyMessage {
pub id: String,
pub timestamp: OffsetDateTime,
pub title: String,
pub body: Option<String>,
pub format: MessageFormat,
pub priority: Priority,
pub tags: Vec<String>,
pub attachments: Vec<Attachment>,
}Fields§
§id: String§timestamp: OffsetDateTime§title: String§body: Option<String>§format: MessageFormat§priority: Priority§attachments: Vec<Attachment>Implementations§
Source§impl NotifyMessage
impl NotifyMessage
Trait Implementations§
Source§impl Clone for NotifyMessage
impl Clone for NotifyMessage
Source§fn clone(&self) -> NotifyMessage
fn clone(&self) -> NotifyMessage
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 NotifyMessage
impl Debug for NotifyMessage
Auto Trait Implementations§
impl Freeze for NotifyMessage
impl RefUnwindSafe for NotifyMessage
impl Send for NotifyMessage
impl Sync for NotifyMessage
impl Unpin for NotifyMessage
impl UnsafeUnpin for NotifyMessage
impl UnwindSafe for NotifyMessage
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