systemprompt_models/
macros.rs1#[macro_export]
4macro_rules! builder_methods {
5 ($( $method:ident ( $field:ident ) -> $ty:ty ),* $(,)?) => {
6 $(
7 pub fn $method(mut self, $field: $ty) -> Self {
8 self.$field = Some($field);
9 self
10 }
11 )*
12 };
13}