@@ -1161,6 +1161,7 @@ pub enum VpcRouterKind {
11611161#[ derive( ObjectIdentity , Clone , Debug , Deserialize , Serialize , JsonSchema ) ]
11621162pub struct VpcRouter {
11631163 /// common identifying metadata
1164+ #[ serde( flatten) ]
11641165 pub identity : IdentityMetadata ,
11651166
11661167 pub kind : VpcRouterKind ,
@@ -1364,6 +1365,7 @@ pub enum RouterRouteKind {
13641365#[ derive( ObjectIdentity , Clone , Debug , Deserialize , Serialize , JsonSchema ) ]
13651366pub struct RouterRoute {
13661367 /// common identifying metadata
1368+ #[ serde( flatten) ]
13671369 pub identity : IdentityMetadata ,
13681370
13691371 /// The VPC Router to which the route belongs.
@@ -1400,6 +1402,7 @@ pub struct RouterRouteUpdateParams {
14001402#[ derive( ObjectIdentity , Clone , Debug , Deserialize , Serialize , JsonSchema ) ]
14011403pub struct VpcFirewallRule {
14021404 /// common identifying metadata
1405+ #[ serde( flatten) ]
14031406 pub identity : IdentityMetadata ,
14041407 /// whether this rule is in effect
14051408 pub status : VpcFirewallRuleStatus ,
@@ -1890,6 +1893,7 @@ impl JsonSchema for MacAddr {
18901893#[ derive( ObjectIdentity , Clone , Debug , Deserialize , JsonSchema , Serialize ) ]
18911894pub struct NetworkInterface {
18921895 /** common identifying metadata */
1896+ #[ serde( flatten) ]
18931897 pub identity : IdentityMetadata ,
18941898
18951899 /** The Instance to which the interface belongs. */
0 commit comments