We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5dcc2e commit 8adee6aCopy full SHA for 8adee6a
1 file changed
crates/vespera_macro/src/schema_macro.rs
@@ -469,10 +469,11 @@ pub struct SchemaTypeInput {
469
pub add: Option<Vec<(String, Type)>>,
470
/// Whether to derive Clone (default: true)
471
pub derive_clone: bool,
472
- /// Fields to wrap in Option<T> for partial updates.
473
- /// - `partial` (bare) = all fields become Option<T>
474
- /// - `partial = ["field1", "field2"]` = only listed fields become Option<T>
475
- /// Fields already Option<T> are left unchanged.
+ /// Fields to wrap in `Option<T>` for partial updates.
+ ///
+ /// - `partial` (bare) = all fields become `Option<T>`
+ /// - `partial = ["field1", "field2"]` = only listed fields become `Option<T>`
476
+ /// - Fields already `Option<T>` are left unchanged.
477
pub partial: Option<PartialMode>,
478
}
479
0 commit comments