Struct web3::types::Bytes [−][src]
Raw bytes wrapper
Trait Implementations
impl Clone for Bytes
[src]
impl Clone for Bytes
fn clone(&self) -> Bytes
[src]
fn clone(&self) -> Bytes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Bytes
[src]
impl Debug for Bytes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Bytes
[src]
impl Default for Bytes
impl PartialEq for Bytes
[src]
impl PartialEq for Bytes
fn eq(&self, other: &Bytes) -> bool
[src]
fn eq(&self, other: &Bytes) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Bytes) -> bool
[src]
fn ne(&self, other: &Bytes) -> bool
This method tests for !=
.
impl<T: Into<Vec<u8>>> From<T> for Bytes
[src]
impl<T: Into<Vec<u8>>> From<T> for Bytes
impl Serialize for Bytes
[src]
impl Serialize for Bytes
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'a> Deserialize<'a> for Bytes
[src]
impl<'a> Deserialize<'a> for Bytes
fn deserialize<D>(deserializer: D) -> Result<Bytes, D::Error> where
D: Deserializer<'a>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Bytes, D::Error> where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more