pub struct TerminalWrite {
pub bytes: String,
pub stdout: bool,
pub offset_ms: u64,
}Expand description
Raw bytes written to stdout or stderr.
Bytes are stored as base64 to preserve ANSI escape sequences and binary data without JSON escaping issues.
Fields§
§bytes: StringBase64-encoded raw bytes.
stdout: boolTrue for stdout, false for stderr.
offset_ms: u64Milliseconds since session start.
Implementations§
Source§impl TerminalWrite
impl TerminalWrite
Trait Implementations§
Source§impl Clone for TerminalWrite
impl Clone for TerminalWrite
Source§fn clone(&self) -> TerminalWrite
fn clone(&self) -> TerminalWrite
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalWrite
impl Debug for TerminalWrite
Source§impl<'de> Deserialize<'de> for TerminalWrite
impl<'de> Deserialize<'de> for TerminalWrite
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 TerminalWrite
impl RefUnwindSafe for TerminalWrite
impl Send for TerminalWrite
impl Sync for TerminalWrite
impl Unpin for TerminalWrite
impl UnsafeUnpin for TerminalWrite
impl UnwindSafe for TerminalWrite
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