pub struct HandlerType {
pub name: String,
pub signature: String,
}Expand description
Components used to construct the client type for this handler.
Fields§
§name: StringUnique name of the handler. This will automatically be namespaced as appropriate when the attached router is nested.
signature: StringSignature of this handler.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandlerType
impl RefUnwindSafe for HandlerType
impl Send for HandlerType
impl Sync for HandlerType
impl Unpin for HandlerType
impl UnwindSafe for HandlerType
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