pub struct HookOutput {
pub message: Message,
pub notifications: Vec<Message>,
}Fields§
§message: Message§notifications: Vec<Message>Implementations§
Source§impl HookOutput
impl HookOutput
pub fn new(message: Message) -> Self
pub fn with_notification(self, notification: Message) -> Self
pub fn with_notifications(self, notifications: Vec<Message>) -> Self
pub fn add_notification(&mut self, notification: Message)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookOutput
impl RefUnwindSafe for HookOutput
impl Send for HookOutput
impl Sync for HookOutput
impl Unpin for HookOutput
impl UnwindSafe for HookOutput
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