From

Derive Macro From 

Source
#[derive(From)]
{
    // Attributes available to this derive:
    #[from]
}