MockStruct
Fields
Field | Type |
---|---|
pub(crate) a | Field |
pub(crate) b | Field |
Methods
new
MockStruct::new(a, b);
Parameters
Name | Type |
---|---|
a | Field |
b | Field |
Standalone Functions
eq
eq(self, other);
Parameters
Name | Type |
---|---|
self | |
other | Self |
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(fields);
Parameters
Name | Type |
---|---|
fields | [Field; 2] |
test_serde
test_serde();
Takes no parameters.