pub struct Handler {
pub kind: String,
pub command: Option<String>,
pub timeout: Option<Number>,
pub condition: Option<String>,
pub on_failure: Option<String>,
pub status_message: Option<String>,
pub is_async: Option<bool>,
pub extra: IndexMap<String, OrderedValue>,
}Expand description
One handler. Claude’s type is Self::kind because type is a Rust keyword.
Fields§
§kind: String§command: Option<String>§timeout: Option<Number>§condition: Option<String>§on_failure: Option<String>§status_message: Option<String>§is_async: Option<bool>§extra: IndexMap<String, OrderedValue>Every other field, in authored order.
Trait Implementations§
impl StructuralPartialEq for Handler
Auto Trait Implementations§
impl Forget for Handler
impl Freeze for Handler
impl RefUnwindSafe for Handler
impl Send for Handler
impl Sync for Handler
impl Unpin for Handler
impl UnsafeUnpin for Handler
impl UnwindSafe for Handler
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