pub struct UiNotifyCancelMessage {
pub plugin: String,
pub source: String,
pub key: Option<String>,
pub uuid: String,
pub session_id: String,
}Expand description
system/ui_notify_cancel — one $.ui.cancelNotify(key) from a plugin in
a headless session, or the engine removing a plugin: remove the
notification with this source and key, shown or still waiting. None
held under that key: do nothing (CLI 2.1.321+).
Fields§
§plugin: StringThe plugin’s registry name, as the hooks engine knows it (never plugin-settable).
source: StringThe plugin’s full id, as on UiNotifyMessage::source (never
plugin-settable). Only notifications of this source are touched.
key: Option<String>The UiNotifyMessage::key of the notification to take back.
Absent: the engine removed the plugin from this session, so drop
everything this source has waiting for this session. Only the engine
sends that.
uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for UiNotifyCancelMessage
impl Clone for UiNotifyCancelMessage
Source§impl Debug for UiNotifyCancelMessage
impl Debug for UiNotifyCancelMessage
Source§impl<'de> Deserialize<'de> for UiNotifyCancelMessage
impl<'de> Deserialize<'de> for UiNotifyCancelMessage
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 Forget for UiNotifyCancelMessage
impl Freeze for UiNotifyCancelMessage
impl RefUnwindSafe for UiNotifyCancelMessage
impl Send for UiNotifyCancelMessage
impl Sync for UiNotifyCancelMessage
impl Unpin for UiNotifyCancelMessage
impl UnsafeUnpin for UiNotifyCancelMessage
impl UnwindSafe for UiNotifyCancelMessage
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