Struct web3::types::Bytes[][src]

pub struct Bytes(pub Vec<u8>);

Raw bytes wrapper

Trait Implementations

impl Clone for Bytes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Bytes
[src]

Formats the value using the given formatter. Read more

impl Default for Bytes
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Bytes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Into<Vec<u8>>> From<T> for Bytes
[src]

Performs the conversion.

impl Serialize for Bytes
[src]

Serialize this value into the given Serde serializer. Read more

impl<'a> Deserialize<'a> for Bytes
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Bytes

impl Sync for Bytes