pub struct HeaderLine {
pub v: u8,
pub tool_use_id: String,
pub stream: String,
pub started_at: String,
}Expand description
Sent from oby-tee on connection open, before any bytes. One JSON line, then raw bytes until EOF.
Fields§
§v: u8§tool_use_id: String§stream: StringSub-stream name: “stdout”, “stderr”, “stderr-discarded”, etc. Capturer-defined.
started_at: StringUnix timestamp (seconds since epoch), prefixed with “@”. v0.1 stopgap — no external chrono dep.
Implementations§
Trait Implementations§
Source§impl Clone for HeaderLine
impl Clone for HeaderLine
Source§fn clone(&self) -> HeaderLine
fn clone(&self) -> HeaderLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HeaderLine
impl Debug for HeaderLine
Source§impl<'de> Deserialize<'de> for HeaderLine
impl<'de> Deserialize<'de> for HeaderLine
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 HeaderLine
impl RefUnwindSafe for HeaderLine
impl Send for HeaderLine
impl Sync for HeaderLine
impl Unpin for HeaderLine
impl UnsafeUnpin for HeaderLine
impl UnwindSafe for HeaderLine
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