pub struct NotificationOptions {
pub message: String,
pub title: Option<String>,
pub notification_type: String,
}Fields§
§message: String§title: Option<String>§notification_type: StringImplementations§
Trait Implementations§
Source§impl Clone for NotificationOptions
impl Clone for NotificationOptions
Source§fn clone(&self) -> NotificationOptions
fn clone(&self) -> NotificationOptions
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 moreAuto Trait Implementations§
impl Freeze for NotificationOptions
impl RefUnwindSafe for NotificationOptions
impl Send for NotificationOptions
impl Sync for NotificationOptions
impl Unpin for NotificationOptions
impl UnsafeUnpin for NotificationOptions
impl UnwindSafe for NotificationOptions
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