pub struct NotificationInput {
pub base: BaseHookInput,
pub message: String,
pub title: Option<String>,
pub notification_type: String,
}Expand description
Input payload for Notification.
Fields§
§base: BaseHookInputShared hook context.
message: StringBody of the notification.
title: Option<String>Optional title; absent when the CLI omits it.
notification_type: StringNotification classification (e.g. "permission_request").
Trait Implementations§
Source§impl Clone for NotificationInput
impl Clone for NotificationInput
Source§impl Debug for NotificationInput
impl Debug for NotificationInput
Source§impl<'de> Deserialize<'de> for NotificationInput
impl<'de> Deserialize<'de> for NotificationInput
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 NotificationInput
impl RefUnwindSafe for NotificationInput
impl Send for NotificationInput
impl Sync for NotificationInput
impl Unpin for NotificationInput
impl UnsafeUnpin for NotificationInput
impl UnwindSafe for NotificationInput
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