You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
customize setter names via #[builder(setter(name="..."))]
customize build_fn name via #[builder(build_fn(name="..."))]
suppress build method generation via #[builder(build_fn(skip))]
derive additional traits via #[builder(derive(Trait1, Trait2, ...))]
set field visibility separate from setter visibility via #[builder(field(private))] at the field or struct level
Deprecated
builder fields will no longer be public by default in 0.5.0; relying on this
will now emit a deprecation warning. Fields can be explicitly made public at
the struct or field level using the new #[builder(field(public))]
attribute. To squelch this warning and opt-into the new behaviour, use the private_fields crate feature or explicitly set field visibility at the
struct level.