Struct cfx_rpc_primitives::Bytes
source · pub struct Bytes(pub Vec<u8>);
Expand description
Wrapper structure around vector of bytes.
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl<'a> Deserialize<'a> for Bytes
impl<'a> Deserialize<'a> for Bytes
source§fn deserialize<D>(deserializer: D) -> Result<Bytes, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Bytes, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Bytes
impl PartialEq for Bytes
impl Eq for Bytes
impl StructuralPartialEq for Bytes
Auto Trait Implementations§
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