pub struct PtyShellReadRequest {
pub shell_id: String,
pub agent_block_id: String,
pub tail_lines: Option<u32>,
}Expand description
POST /api/v1/ptyshell/read — read back the shell’s raw output tail.
This is a raw byte/line log, not a rendered-screen snapshot — a
full-screen TUI that redraws in place (cursor movement, \r-only
updates) will not read back the way it visually renders. Sufficient for
line-oriented wizards (the common case); see the spec’s §5 for the
rendered-snapshot follow-up this deliberately does not attempt yet.
Fields§
§shell_id: String§agent_block_id: String§tail_lines: Option<u32>Number of trailing lines to return. Defaults to 200.
Trait Implementations§
Source§impl Clone for PtyShellReadRequest
impl Clone for PtyShellReadRequest
Source§fn clone(&self) -> PtyShellReadRequest
fn clone(&self) -> PtyShellReadRequest
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 PtyShellReadRequest
impl Debug for PtyShellReadRequest
Source§impl<'de> Deserialize<'de> for PtyShellReadRequest
impl<'de> Deserialize<'de> for PtyShellReadRequest
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 PtyShellReadRequest
impl RefUnwindSafe for PtyShellReadRequest
impl Send for PtyShellReadRequest
impl Sync for PtyShellReadRequest
impl Unpin for PtyShellReadRequest
impl UnsafeUnpin for PtyShellReadRequest
impl UnwindSafe for PtyShellReadRequest
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