Skip to content

Commit 49754fc

Browse files
committed
add cfg_attr for docsrs
Signed-off-by: Craig Disselkoen <[email protected]>
1 parent 5dad4fd commit 49754fc

File tree

70 files changed

+395
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+395
-0
lines changed

lambda-events/src/event/activemq/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct ActiveMqEvent {
1717
/// Enabled with Cargo feature `catch-all-fields`.
1818
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
1919
#[cfg(feature = "catch-all-fields")]
20+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
2021
#[serde(flatten)]
2122
pub other: serde_json::Map<String, Value>,
2223
}
@@ -53,6 +54,7 @@ pub struct ActiveMqMessage {
5354
/// Enabled with Cargo feature `catch-all-fields`.
5455
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5556
#[cfg(feature = "catch-all-fields")]
57+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
5658
#[serde(flatten)]
5759
pub other: serde_json::Map<String, Value>,
5860
}
@@ -66,6 +68,7 @@ pub struct ActiveMqDestination {
6668
/// Enabled with Cargo feature `catch-all-fields`.
6769
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
6870
#[cfg(feature = "catch-all-fields")]
71+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
6972
#[serde(flatten)]
7073
pub other: serde_json::Map<String, Value>,
7174
}

lambda-events/src/event/alb/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pub struct AlbTargetGroupRequest {
3636
/// Enabled with Cargo feature `catch-all-fields`.
3737
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
3838
#[cfg(feature = "catch-all-fields")]
39+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
3940
#[serde(flatten)]
4041
pub other: serde_json::Map<String, Value>,
4142
}
@@ -49,6 +50,7 @@ pub struct AlbTargetGroupRequestContext {
4950
/// Enabled with Cargo feature `catch-all-fields`.
5051
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5152
#[cfg(feature = "catch-all-fields")]
53+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
5254
#[serde(flatten)]
5355
pub other: serde_json::Map<String, Value>,
5456
}
@@ -64,6 +66,7 @@ pub struct ElbContext {
6466
/// Enabled with Cargo feature `catch-all-fields`.
6567
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
6668
#[cfg(feature = "catch-all-fields")]
69+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
6770
#[serde(flatten)]
6871
pub other: serde_json::Map<String, Value>,
6972
}
@@ -89,6 +92,7 @@ pub struct AlbTargetGroupResponse {
8992
/// Enabled with Cargo feature `catch-all-fields`.
9093
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
9194
#[cfg(feature = "catch-all-fields")]
95+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
9296
#[serde(flatten)]
9397
pub other: serde_json::Map<String, Value>,
9498
}

lambda-events/src/event/apigw/mod.rs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub struct ApiGatewayProxyRequest {
5151
/// Enabled with Cargo feature `catch-all-fields`.
5252
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5353
#[cfg(feature = "catch-all-fields")]
54+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
5455
#[serde(flatten)]
5556
pub other: serde_json::Map<String, Value>,
5657
}
@@ -74,6 +75,7 @@ pub struct ApiGatewayProxyResponse {
7475
/// Enabled with Cargo feature `catch-all-fields`.
7576
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
7677
#[cfg(feature = "catch-all-fields")]
78+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
7779
#[serde(flatten)]
7880
pub other: serde_json::Map<String, Value>,
7981
}
@@ -126,6 +128,7 @@ pub struct ApiGatewayProxyRequestContext {
126128
/// Enabled with Cargo feature `catch-all-fields`.
127129
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
128130
#[cfg(feature = "catch-all-fields")]
131+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
129132
#[serde(flatten)]
130133
pub other: serde_json::Map<String, Value>,
131134
}
@@ -182,6 +185,7 @@ pub struct ApiGatewayV2httpRequest {
182185
/// Enabled with Cargo feature `catch-all-fields`.
183186
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
184187
#[cfg(feature = "catch-all-fields")]
188+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
185189
#[serde(flatten)]
186190
pub other: serde_json::Map<String, Value>,
187191
}
@@ -220,6 +224,7 @@ pub struct ApiGatewayV2httpRequestContext {
220224
/// Enabled with Cargo feature `catch-all-fields`.
221225
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
222226
#[cfg(feature = "catch-all-fields")]
227+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
223228
#[serde(flatten)]
224229
pub other: serde_json::Map<String, Value>,
225230
}
@@ -243,6 +248,7 @@ pub struct ApiGatewayRequestAuthorizer {
243248
/// Enabled with Cargo feature `catch-all-fields`.
244249
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
245250
#[cfg(feature = "catch-all-fields")]
251+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
246252
#[serde(flatten)]
247253
pub other: serde_json::Map<String, Value>,
248254
}
@@ -260,6 +266,7 @@ pub struct ApiGatewayRequestAuthorizerJwtDescription {
260266
/// Enabled with Cargo feature `catch-all-fields`.
261267
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
262268
#[cfg(feature = "catch-all-fields")]
269+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
263270
#[serde(flatten)]
264271
pub other: serde_json::Map<String, Value>,
265272
}
@@ -286,6 +293,7 @@ pub struct ApiGatewayRequestAuthorizerIamDescription {
286293
/// Enabled with Cargo feature `catch-all-fields`.
287294
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
288295
#[cfg(feature = "catch-all-fields")]
296+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
289297
#[serde(flatten)]
290298
pub other: serde_json::Map<String, Value>,
291299
}
@@ -303,6 +311,7 @@ pub struct ApiGatewayRequestAuthorizerCognitoIdentity {
303311
/// Enabled with Cargo feature `catch-all-fields`.
304312
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
305313
#[cfg(feature = "catch-all-fields")]
314+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
306315
#[serde(flatten)]
307316
pub other: serde_json::Map<String, Value>,
308317
}
@@ -325,6 +334,7 @@ pub struct ApiGatewayV2httpRequestContextHttpDescription {
325334
/// Enabled with Cargo feature `catch-all-fields`.
326335
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
327336
#[cfg(feature = "catch-all-fields")]
337+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
328338
#[serde(flatten)]
329339
pub other: serde_json::Map<String, Value>,
330340
}
@@ -349,6 +359,7 @@ pub struct ApiGatewayV2httpResponse {
349359
/// Enabled with Cargo feature `catch-all-fields`.
350360
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
351361
#[cfg(feature = "catch-all-fields")]
362+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
352363
#[serde(flatten)]
353364
pub other: serde_json::Map<String, Value>,
354365
}
@@ -388,6 +399,7 @@ pub struct ApiGatewayRequestIdentity {
388399
/// Enabled with Cargo feature `catch-all-fields`.
389400
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
390401
#[cfg(feature = "catch-all-fields")]
402+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
391403
#[serde(flatten)]
392404
pub other: serde_json::Map<String, Value>,
393405
}
@@ -433,6 +445,7 @@ pub struct ApiGatewayWebsocketProxyRequest {
433445
/// Enabled with Cargo feature `catch-all-fields`.
434446
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
435447
#[cfg(feature = "catch-all-fields")]
448+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
436449
#[serde(flatten)]
437450
pub other: serde_json::Map<String, Value>,
438451
}
@@ -503,6 +516,7 @@ pub struct ApiGatewayWebsocketProxyRequestContext {
503516
/// Enabled with Cargo feature `catch-all-fields`.
504517
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
505518
#[cfg(feature = "catch-all-fields")]
519+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
506520
#[serde(flatten)]
507521
pub other: serde_json::Map<String, Value>,
508522
}
@@ -523,6 +537,7 @@ pub struct ApiGatewayCustomAuthorizerRequestTypeRequestIdentity {
523537
/// Enabled with Cargo feature `catch-all-fields`.
524538
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
525539
#[cfg(feature = "catch-all-fields")]
540+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
526541
#[serde(flatten)]
527542
pub other: serde_json::Map<String, Value>,
528543
}
@@ -546,6 +561,7 @@ pub struct ApiGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert {
546561
/// Enabled with Cargo feature `catch-all-fields`.
547562
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
548563
#[cfg(feature = "catch-all-fields")]
564+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
549565
#[serde(flatten)]
550566
pub other: serde_json::Map<String, Value>,
551567
}
@@ -562,6 +578,7 @@ pub struct ApiGatewayCustomAuthorizerRequestTypeRequestIdentityClientCertValidit
562578
/// Enabled with Cargo feature `catch-all-fields`.
563579
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
564580
#[cfg(feature = "catch-all-fields")]
581+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
565582
#[serde(flatten)]
566583
pub other: serde_json::Map<String, Value>,
567584
}
@@ -576,6 +593,7 @@ pub struct ApiGatewayV2httpRequestContextAuthentication {
576593
/// Enabled with Cargo feature `catch-all-fields`.
577594
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
578595
#[cfg(feature = "catch-all-fields")]
596+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
579597
#[serde(flatten)]
580598
pub other: serde_json::Map<String, Value>,
581599
}
@@ -599,6 +617,7 @@ pub struct ApiGatewayV2httpRequestContextAuthenticationClientCert {
599617
/// Enabled with Cargo feature `catch-all-fields`.
600618
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
601619
#[cfg(feature = "catch-all-fields")]
620+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
602621
#[serde(flatten)]
603622
pub other: serde_json::Map<String, Value>,
604623
}
@@ -615,6 +634,7 @@ pub struct ApiGatewayV2httpRequestContextAuthenticationClientCertValidity {
615634
/// Enabled with Cargo feature `catch-all-fields`.
616635
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
617636
#[cfg(feature = "catch-all-fields")]
637+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
618638
#[serde(flatten)]
619639
pub other: serde_json::Map<String, Value>,
620640
}
@@ -644,6 +664,7 @@ pub struct ApiGatewayV2CustomAuthorizerV1RequestTypeRequestContext {
644664
/// Enabled with Cargo feature `catch-all-fields`.
645665
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
646666
#[cfg(feature = "catch-all-fields")]
667+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
647668
#[serde(flatten)]
648669
pub other: serde_json::Map<String, Value>,
649670
}
@@ -685,6 +706,7 @@ pub struct ApiGatewayV2CustomAuthorizerV1Request {
685706
/// Enabled with Cargo feature `catch-all-fields`.
686707
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
687708
#[cfg(feature = "catch-all-fields")]
709+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
688710
#[serde(flatten)]
689711
pub other: serde_json::Map<String, Value>,
690712
}
@@ -726,6 +748,7 @@ pub struct ApiGatewayV2CustomAuthorizerV2Request {
726748
/// Enabled with Cargo feature `catch-all-fields`.
727749
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
728750
#[cfg(feature = "catch-all-fields")]
751+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
729752
#[serde(flatten)]
730753
pub other: serde_json::Map<String, Value>,
731754
}
@@ -744,6 +767,7 @@ pub struct ApiGatewayCustomAuthorizerContext {
744767
/// Enabled with Cargo feature `catch-all-fields`.
745768
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
746769
#[cfg(feature = "catch-all-fields")]
770+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
747771
#[serde(flatten)]
748772
pub other: serde_json::Map<String, Value>,
749773
}
@@ -778,6 +802,7 @@ pub struct ApiGatewayCustomAuthorizerRequestTypeRequestContext {
778802
/// Enabled with Cargo feature `catch-all-fields`.
779803
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
780804
#[cfg(feature = "catch-all-fields")]
805+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
781806
#[serde(flatten)]
782807
pub other: serde_json::Map<String, Value>,
783808
}
@@ -797,6 +822,7 @@ pub struct ApiGatewayCustomAuthorizerRequest {
797822
/// Enabled with Cargo feature `catch-all-fields`.
798823
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
799824
#[cfg(feature = "catch-all-fields")]
825+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
800826
#[serde(flatten)]
801827
pub other: serde_json::Map<String, Value>,
802828
}
@@ -840,6 +866,7 @@ pub struct ApiGatewayCustomAuthorizerRequestTypeRequest {
840866
/// Enabled with Cargo feature `catch-all-fields`.
841867
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
842868
#[cfg(feature = "catch-all-fields")]
869+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
843870
#[serde(flatten)]
844871
pub other: serde_json::Map<String, Value>,
845872
}
@@ -862,6 +889,7 @@ where
862889
/// Enabled with Cargo feature `catch-all-fields`.
863890
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
864891
#[cfg(feature = "catch-all-fields")]
892+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
865893
#[serde(flatten)]
866894
pub other: serde_json::Map<String, Value>,
867895
}
@@ -881,6 +909,7 @@ where
881909
/// Enabled with Cargo feature `catch-all-fields`.
882910
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
883911
#[cfg(feature = "catch-all-fields")]
912+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
884913
#[serde(flatten)]
885914
pub other: serde_json::Map<String, Value>,
886915
}
@@ -901,6 +930,7 @@ where
901930
/// Enabled with Cargo feature `catch-all-fields`.
902931
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
903932
#[cfg(feature = "catch-all-fields")]
933+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
904934
#[serde(flatten)]
905935
pub other: serde_json::Map<String, Value>,
906936
}
@@ -916,6 +946,7 @@ pub struct ApiGatewayCustomAuthorizerPolicy {
916946
/// Enabled with Cargo feature `catch-all-fields`.
917947
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
918948
#[cfg(feature = "catch-all-fields")]
949+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
919950
#[serde(flatten)]
920951
pub other: serde_json::Map<String, Value>,
921952
}

lambda-events/src/event/appsync/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ where
2121
/// Enabled with Cargo feature `catch-all-fields`.
2222
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
2323
#[cfg(feature = "catch-all-fields")]
24+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
2425
#[serde(flatten)]
2526
pub other: serde_json::Map<String, Value>,
2627
}
@@ -48,6 +49,7 @@ pub struct AppSyncIamIdentity {
4849
/// Enabled with Cargo feature `catch-all-fields`.
4950
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5051
#[cfg(feature = "catch-all-fields")]
52+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
5153
#[serde(flatten)]
5254
pub other: serde_json::Map<String, Value>,
5355
}
@@ -77,6 +79,7 @@ where
7779
/// Enabled with Cargo feature `catch-all-fields`.
7880
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
7981
#[cfg(feature = "catch-all-fields")]
82+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
8083
#[serde(flatten)]
8184
pub other: serde_json::Map<String, Value>,
8285
}
@@ -94,6 +97,7 @@ pub struct AppSyncLambdaAuthorizerRequest {
9497
/// Enabled with Cargo feature `catch-all-fields`.
9598
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
9699
#[cfg(feature = "catch-all-fields")]
100+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
97101
#[serde(flatten)]
98102
pub other: serde_json::Map<String, Value>,
99103
}
@@ -126,6 +130,7 @@ where
126130
/// Enabled with Cargo feature `catch-all-fields`.
127131
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
128132
#[cfg(feature = "catch-all-fields")]
133+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
129134
#[serde(flatten)]
130135
pub other: serde_json::Map<String, Value>,
131136
}
@@ -149,6 +154,7 @@ where
149154
/// Enabled with Cargo feature `catch-all-fields`.
150155
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
151156
#[cfg(feature = "catch-all-fields")]
157+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
152158
#[serde(flatten)]
153159
pub other: serde_json::Map<String, Value>,
154160
}
@@ -187,6 +193,7 @@ where
187193
/// Enabled with Cargo feature `catch-all-fields`.
188194
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
189195
#[cfg(feature = "catch-all-fields")]
196+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
190197
#[serde(flatten)]
191198
pub other: serde_json::Map<String, Value>,
192199
}
@@ -206,6 +213,7 @@ pub struct AppSyncRequest {
206213
/// Enabled with Cargo feature `catch-all-fields`.
207214
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
208215
#[cfg(feature = "catch-all-fields")]
216+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
209217
#[serde(flatten)]
210218
pub other: serde_json::Map<String, Value>,
211219
}
@@ -229,6 +237,7 @@ where
229237
/// Enabled with Cargo feature `catch-all-fields`.
230238
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
231239
#[cfg(feature = "catch-all-fields")]
240+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
232241
#[serde(flatten)]
233242
pub other: serde_json::Map<String, Value>,
234243
}
@@ -245,6 +254,7 @@ where
245254
/// Enabled with Cargo feature `catch-all-fields`.
246255
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
247256
#[cfg(feature = "catch-all-fields")]
257+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
248258
#[serde(flatten)]
249259
pub other: serde_json::Map<String, Value>,
250260
}
@@ -274,6 +284,7 @@ where
274284
/// Enabled with Cargo feature `catch-all-fields`.
275285
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
276286
#[cfg(feature = "catch-all-fields")]
287+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
277288
#[serde(flatten)]
278289
pub other: serde_json::Map<String, Value>,
279290
}
@@ -291,6 +302,7 @@ where
291302
/// Enabled with Cargo feature `catch-all-fields`.
292303
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
293304
#[cfg(feature = "catch-all-fields")]
305+
#[cfg_attr(docsrs, doc(cfg(feature = "catch-all-fields")))]
294306
#[serde(flatten)]
295307
pub other: serde_json::Map<String, Value>,
296308
}

0 commit comments

Comments
 (0)