pub struct UiStatusMessage {
pub plugin: String,
pub text: Option<String>,
pub uuid: String,
pub session_id: String,
}Expand description
system/ui_status — one $.ui.status(text) from a plugin in a headless
session: the line the REPL pins under the prompt until the plugin’s next
call replaces or clears it. One status line per plugin (CLI 2.1.285+).
Fields§
§plugin: StringThe calling plugin’s registry name, as the hooks engine knows it.
text: Option<String>The plugin’s pinned line, replacing its previous one; None (wire
null) removes it. Be ready for up to 10000 characters of it and
then an ellipsis (4096 before CLI 2.1.289). Plain text: draw it as a
text node, never as markup.
uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for UiStatusMessage
impl Clone for UiStatusMessage
Source§impl Debug for UiStatusMessage
impl Debug for UiStatusMessage
Source§impl<'de> Deserialize<'de> for UiStatusMessage
impl<'de> Deserialize<'de> for UiStatusMessage
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 UiStatusMessage
impl RefUnwindSafe for UiStatusMessage
impl Send for UiStatusMessage
impl Sync for UiStatusMessage
impl Unpin for UiStatusMessage
impl UnsafeUnpin for UiStatusMessage
impl UnwindSafe for UiStatusMessage
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