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 Handlerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, OrderedValue>>: Freeze,
impl Move for Handler
impl RefUnwindSafe for Handler
impl Send for Handler
impl Sync for Handler
impl Unpin for Handler
impl UnsafeUnpin for Handlerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, OrderedValue>>: UnsafeUnpin,
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