Struct msgpack_value::Ext
source · pub struct Ext {
pub type: i8,
pub data: Vec<u8>,
}
Expand description
User-extended type.
Fields§
§type: i8
§data: Vec<u8>
Trait Implementations§
source§impl Arbitrary for Ext
impl Arbitrary for Ext
§type Parameters = (<i8 as Arbitrary>::Parameters, <Vec<u8, Global> as Arbitrary>::Parameters)
type Parameters = (<i8 as Arbitrary>::Parameters, <Vec<u8, Global> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(<i8 as Arbitrary>::Strategy, <Vec<u8, Global> as Arbitrary>::Strategy), fn(_: (i8, Vec<u8, Global>)) -> Ext>
type Strategy = Map<(<i8 as Arbitrary>::Strategy, <Vec<u8, Global> as Arbitrary>::Strategy), fn(_: (i8, Vec<u8, Global>)) -> Ext>
The type of
Strategy
used to generate values of type Self
.