initial commit
This commit is contained in:
+192
@@ -0,0 +1,192 @@
|
||||
DeriveInput {
|
||||
attrs: [],
|
||||
vis: Visibility::Public(
|
||||
Pub,
|
||||
),
|
||||
ident: Ident {
|
||||
ident: "Settings",
|
||||
span: #0 bytes(1363..1371),
|
||||
},
|
||||
generics: Generics {
|
||||
lt_token: None,
|
||||
params: [],
|
||||
gt_token: None,
|
||||
where_clause: None,
|
||||
},
|
||||
data: Data::Struct {
|
||||
struct_token: Struct,
|
||||
fields: Fields::Named {
|
||||
brace_token: Brace,
|
||||
named: [
|
||||
Field {
|
||||
attrs: [
|
||||
Attribute {
|
||||
pound_token: Pound,
|
||||
style: AttrStyle::Outer,
|
||||
bracket_token: Bracket,
|
||||
meta: Meta::Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "nested_config",
|
||||
span: #0 bytes(1380..1393),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
vis: Visibility::Public(
|
||||
Pub,
|
||||
),
|
||||
mutability: FieldMutability::None,
|
||||
ident: Some(
|
||||
Ident {
|
||||
ident: "general",
|
||||
span: #0 bytes(1403..1410),
|
||||
},
|
||||
),
|
||||
colon_token: Some(
|
||||
Colon,
|
||||
),
|
||||
ty: Type::Path {
|
||||
qself: None,
|
||||
path: Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "GeneralSettings",
|
||||
span: #0 bytes(1412..1427),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
Comma,
|
||||
Field {
|
||||
attrs: [
|
||||
Attribute {
|
||||
pound_token: Pound,
|
||||
style: AttrStyle::Outer,
|
||||
bracket_token: Bracket,
|
||||
meta: Meta::Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "nested_config",
|
||||
span: #0 bytes(1435..1448),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
vis: Visibility::Public(
|
||||
Pub,
|
||||
),
|
||||
mutability: FieldMutability::None,
|
||||
ident: Some(
|
||||
Ident {
|
||||
ident: "format",
|
||||
span: #0 bytes(1458..1464),
|
||||
},
|
||||
),
|
||||
colon_token: Some(
|
||||
Colon,
|
||||
),
|
||||
ty: Type::Path {
|
||||
qself: None,
|
||||
path: Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "FormatSettings",
|
||||
span: #0 bytes(1466..1480),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
Comma,
|
||||
Field {
|
||||
attrs: [
|
||||
Attribute {
|
||||
pound_token: Pound,
|
||||
style: AttrStyle::Outer,
|
||||
bracket_token: Bracket,
|
||||
meta: Meta::Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "nested_config",
|
||||
span: #0 bytes(1488..1501),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
Attribute {
|
||||
pound_token: Pound,
|
||||
style: AttrStyle::Outer,
|
||||
bracket_token: Bracket,
|
||||
meta: Meta::Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "no_config",
|
||||
span: #0 bytes(1509..1518),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
vis: Visibility::Public(
|
||||
Pub,
|
||||
),
|
||||
mutability: FieldMutability::None,
|
||||
ident: Some(
|
||||
Ident {
|
||||
ident: "styles",
|
||||
span: #0 bytes(1528..1534),
|
||||
},
|
||||
),
|
||||
colon_token: Some(
|
||||
Colon,
|
||||
),
|
||||
ty: Type::Path {
|
||||
qself: None,
|
||||
path: Path {
|
||||
leading_colon: None,
|
||||
segments: [
|
||||
PathSegment {
|
||||
ident: Ident {
|
||||
ident: "StyleSettings",
|
||||
span: #0 bytes(1536..1549),
|
||||
},
|
||||
arguments: PathArguments::None,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
Comma,
|
||||
],
|
||||
},
|
||||
semi_token: None,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user