pub struct HandlerSignature {
pub name: String,
pub param_type: Option<String>,
pub returns_command: bool,
}Expand description
Handler metadata for compile-time validation
Fields§
§name: StringHandler name
param_type: Option<String>Parameter type if applicable
returns_command: boolWhether handler returns Command
Trait Implementations§
Source§impl Clone for HandlerSignature
impl Clone for HandlerSignature
Source§fn clone(&self) -> HandlerSignature
fn clone(&self) -> HandlerSignature
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 HandlerSignature
impl Debug for HandlerSignature
Source§impl PartialEq for HandlerSignature
impl PartialEq for HandlerSignature
impl StructuralPartialEq for HandlerSignature
Auto Trait Implementations§
impl Freeze for HandlerSignature
impl RefUnwindSafe for HandlerSignature
impl Send for HandlerSignature
impl Sync for HandlerSignature
impl Unpin for HandlerSignature
impl UnwindSafe for HandlerSignature
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