pub struct MonitorToolSpec {
pub command: String,
pub description: String,
pub persistent: bool,
pub timeout_ms: u64,
}Expand description
Parsed monitor arguments ready to hand to the session manager.
Fields§
§command: String§description: String§persistent: bool§timeout_ms: u64Implementations§
Source§impl MonitorToolSpec
impl MonitorToolSpec
pub fn from_args(args: &Value) -> Result<Self, ToolResult>
Auto Trait Implementations§
impl Freeze for MonitorToolSpec
impl RefUnwindSafe for MonitorToolSpec
impl Send for MonitorToolSpec
impl Sync for MonitorToolSpec
impl Unpin for MonitorToolSpec
impl UnsafeUnpin for MonitorToolSpec
impl UnwindSafe for MonitorToolSpec
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