# builder! A macro, or two, to simplify usage of builder pattern on structs. ``` rust use builder_option::Builder; #[derive(Debug, Builder)] pub struct Client { pub field: bool, pub another: Option, pub optional: Option, } fn main() -> Result<(), dyn std::error::Error> { let client = Client::builder() .with_field(true) .with_another(false), .build()?; assert!(client.field); assert_eq!(client.another, false); assert!(client.optional.is_none()); } ``` ## LICENSE - [CC0-1.0](https://creativecommons.org/public-domain/cc0/)