Skip to main content

Lift

Derive Macro Lift 

Source
#[derive(Lift)]
{
    // Attributes available to this derive:
    #[lift]
}
Expand description

Derive error conversion mappings. A single-field tuple struct can project a source struct field with #[lift(Source, field = name)], generating From<Source> independently of rejection metadata.