pub struct NotificationHookInput {
pub base: BaseHookInput,
pub hook_event_name: String,
pub message: String,
pub title: Option<String>,
pub notification_type: String,
}Expand description
Input for Notification hook events.
Fields§
§base: BaseHookInputBase fields.
hook_event_name: StringHook event name.
message: StringNotification message.
title: Option<String>Notification title.
notification_type: StringNotification type.
Trait Implementations§
Source§impl Clone for NotificationHookInput
impl Clone for NotificationHookInput
Source§fn clone(&self) -> NotificationHookInput
fn clone(&self) -> NotificationHookInput
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 NotificationHookInput
impl Debug for NotificationHookInput
Source§impl<'de> Deserialize<'de> for NotificationHookInput
impl<'de> Deserialize<'de> for NotificationHookInput
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 NotificationHookInput
impl RefUnwindSafe for NotificationHookInput
impl Send for NotificationHookInput
impl Sync for NotificationHookInput
impl Unpin for NotificationHookInput
impl UnsafeUnpin for NotificationHookInput
impl UnwindSafe for NotificationHookInput
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