pub struct NotificationOptions {
pub email_message: Option<String>,
pub send_email: Option<bool>,
}
Expand description
Set of options which defines notification preferences of given action.
Fields§
§email_message: Option<String>
Text value to be included in the email body.
send_email: Option<bool>
Boolean value to indicate an email notification should be sent to the receipients.
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 moreSource§impl Debug for NotificationOptions
impl Debug for NotificationOptions
Source§impl Default for NotificationOptions
impl Default for NotificationOptions
Source§fn default() -> NotificationOptions
fn default() -> NotificationOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for NotificationOptions
impl PartialEq for NotificationOptions
Source§impl Serialize for NotificationOptions
impl Serialize for NotificationOptions
impl StructuralPartialEq for NotificationOptions
Auto Trait Implementations§
impl Freeze for NotificationOptions
impl RefUnwindSafe for NotificationOptions
impl Send for NotificationOptions
impl Sync for NotificationOptions
impl Unpin 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