pub struct Bytes(pub Vec<u8>);Expand description
A type for hex values of arbitrary length
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bytes
impl<'de> Deserialize<'de> for Bytes
Source§fn deserialize<T>(deserializer: T) -> Result<Bytes, T::Error>where
T: Deserializer<'de>,
fn deserialize<T>(deserializer: T) -> Result<Bytes, T::Error>where
T: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Bytes
Auto Trait Implementations§
impl Freeze for Bytes
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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