[][src]Derive Macro optbuilder::OptionalBuilder

#[derive(OptionalBuilder)]
{
    // Attributes available to this derive:
    #[optbuilder]
}

The optional_builder derive macro adds an implementation of two functions for every option guarded field:

with_#field_name and without_#fieldname, responsible for both injecting data into field and removing it.