pub struct UiLogMessage {
pub plugin: String,
pub text: String,
pub uuid: String,
pub session_id: String,
}Expand description
system/ui_log — one $.ui.log(text) line from a plugin in a headless
session: what the REPL appends to its transcript as a dim notice under
the plugin’s name. Not sent to the model (CLI 2.1.285+).
Fields§
§plugin: StringThe calling plugin’s registry name, as the hooks engine knows it.
text: StringThe line the plugin gave: 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 UiLogMessage
impl Clone for UiLogMessage
Source§impl Debug for UiLogMessage
impl Debug for UiLogMessage
Source§impl<'de> Deserialize<'de> for UiLogMessage
impl<'de> Deserialize<'de> for UiLogMessage
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 UiLogMessage
impl RefUnwindSafe for UiLogMessage
impl Send for UiLogMessage
impl Sync for UiLogMessage
impl Unpin for UiLogMessage
impl UnsafeUnpin for UiLogMessage
impl UnwindSafe for UiLogMessage
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