Expand description
Arbitrary data generation for serialization proptests
Functions§
- datetime_
full - Returns a strategy that produces an arbitrary
chrono::DateTime<Utc>
, based on the full valid range of the type. - datetime_
u32 - Returns a strategy that produces an arbitrary time from a
u32
number of seconds past the epoch. - max_
allocation_ is_ big_ enough - Allocate a maximum-sized vector of cloned
item
s, and serialize that array.