MCPcopy Create free account
hub / github.com/TankHQ/tank / ComplexNullFields

Class ComplexNullFields

tank-tests/src/complex.rs:18–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17#[derive(Entity)]
18struct ComplexNullFields {
19 #[cfg(not(feature = "disable-arrays"))]
20 first: Option<[Option<f64>; 8]>,
21 #[cfg(all(
22 not(feature = "disable-lists"),
23 not(feature = "disable-intervals"),
24 not(feature = "disable-nested-collections"),
25 ))]
26 second: Option<Vec<Option<Duration>>>,
27 third: Option<Box<[u8]>>,
28 #[cfg(all(
29 not(feature = "disable-arrays"),
30 not(feature = "disable-large-integers"),
31 not(feature = "disable-maps"),
32 not(feature = "disable-nested-collections"),
33 ))]
34 fourth: Option<Box<BTreeMap<String, Option<[Option<i128>; 3]>>>>,
35 #[cfg(all(
36 not(feature = "disable-lists"),
37 not(feature = "disable-maps"),
38 not(feature = "disable-nested-collections"),
39 ))]
40 fifth: LinkedList<Option<VecDeque<Option<BTreeMap<i32, Option<i32>>>>>>,
41 #[tank(ignore)]
42 sixth: TankUnsupported,
43}
44
45impl Default for ComplexNullFields {
46 fn default() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected