pub struct ReadShellOutputArgs {
pub shell_id: String,
pub from_start: bool,
pub offset: Option<usize>,
pub limit: Option<usize>,
}Fields§
§shell_id: StringBackground shell id returned by run_shell with bg=true.
from_start: boolWhen true, read from the start of the log. Defaults to false meaning read from the end.
offset: Option<usize>Optional 0-based line offset from the selected side. Defaults to 0.
limit: Option<usize>Optional maximum number of lines to read. Defaults to 200, max 1000.
Trait Implementations§
Source§impl Clone for ReadShellOutputArgs
impl Clone for ReadShellOutputArgs
Source§fn clone(&self) -> ReadShellOutputArgs
fn clone(&self) -> ReadShellOutputArgs
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 ReadShellOutputArgs
impl Debug for ReadShellOutputArgs
Source§impl<'de> Deserialize<'de> for ReadShellOutputArgs
impl<'de> Deserialize<'de> for ReadShellOutputArgs
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
Source§impl JsonSchema for ReadShellOutputArgs
impl JsonSchema for ReadShellOutputArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ReadShellOutputArgs
impl RefUnwindSafe for ReadShellOutputArgs
impl Send for ReadShellOutputArgs
impl Sync for ReadShellOutputArgs
impl Unpin for ReadShellOutputArgs
impl UnsafeUnpin for ReadShellOutputArgs
impl UnwindSafe for ReadShellOutputArgs
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