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
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
impl Eq for Bin
impl StructuralEq for Bin
impl StructuralPartialEq for Bin
Auto Trait Implementations§
impl RefUnwindSafe for Bin
impl Send for Bin
impl Sync for Bin
impl Unpin for Bin
impl UnwindSafe for Bin
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more