patch_impl

Attribute Macro patch_impl 

Source
#[patch_impl]
Expand description

Mark a struct as a patch implementation

This generates the necessary exports and metadata for the patch.

§Example

#[patch_impl]
pub struct HandlerV2;

impl Handler for HandlerV2 {
    fn handle(&self, req: Request) -> Response {
        // new implementation
    }
}