wip: book documentation
This commit is contained in:
1 parent
7dedad4c26
commit
16dbf4a6f8
87 files changed
+997
-319
No files matched your search
@@ -262,7 +262,7 @@ mod field_info {
|
||||
pub setter: SetterSettings,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SetterSettings {
|
||||
pub doc: Option<syn::Expr>,
|
||||
pub skip: bool,
|
||||
@@ -270,6 +270,17 @@ mod field_info {
|
||||
pub strip_option: bool,
|
||||
}
|
||||
|
||||
impl Default for SetterSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
doc: Default::default(),
|
||||
skip: false,
|
||||
auto_into: false,
|
||||
strip_option: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl FieldBuilderAttr {
|
||||
pub fn with(mut self, attrs: &[syn::Attribute]) -> Result<Self, Error> {
|
||||
let mut skip_tokens = None;
|
||||
|
||||
Reference in new issue
Block a user