1 2 3 4 5 6 7 8 9 10
#[derive(Debug, bauer::Builder)] struct Foo { #[builder(into, default)] field: String, } fn main() { let x: Foo = Foo::builder().field("hello").build(); assert_eq!(x.field, "hello"); }