Struct msgpack_value::Bin
source · pub struct Bin(pub Vec<u8>);
Expand description
Byte array type.
As noted in the comment in Str, using this type in this crate is almost nonsense, unless your data schema is shared by some external data providers.
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl Arbitrary for Bin
impl Arbitrary for Bin
§type Parameters = <Vec<u8, Global> as Arbitrary>::Parameters
type 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<<Vec<u8, Global> as Arbitrary>::Strategy, fn(_: Vec<u8, Global>) -> Bin>
type Strategy = Map<<Vec<u8, Global> as Arbitrary>::Strategy, fn(_: Vec<u8, Global>) -> Bin>
The type of
Strategy
used to generate values of type Self
.