pub struct CheckProcessParams {
pub job_id: String,
pub tail_lines: usize,
}Expand description
Parameters for the check_process tool
§Migration from old API
Previously required pid and log_path. Now uses job_id only.
The job_id is returned by shell/sudo_shell when background=true.
Fields§
§job_id: StringJob ID returned by shell/sudo_shell background execution
tail_lines: usizeNumber of last lines to read from log (default: 50)
Trait Implementations§
Source§impl Debug for CheckProcessParams
impl Debug for CheckProcessParams
Source§impl<'de> Deserialize<'de> for CheckProcessParams
impl<'de> Deserialize<'de> for CheckProcessParams
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 CheckProcessParams
impl JsonSchema for CheckProcessParams
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 CheckProcessParams
impl RefUnwindSafe for CheckProcessParams
impl Send for CheckProcessParams
impl Sync for CheckProcessParams
impl Unpin for CheckProcessParams
impl UnsafeUnpin for CheckProcessParams
impl UnwindSafe for CheckProcessParams
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