Struct ethcore_rpc::v1::types::Bytes [] [src]

pub struct Bytes(pub Vec<u8>);

Wrapper structure around vector of bytes.

Methods

impl Bytes
[src]

Simple constructor.

Convert back to vector

Trait Implementations

impl Clone for Bytes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Bytes
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Default for Bytes
[src]

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

impl Eq for Bytes
[src]

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 Debug for Bytes
[src]

Formats the value using the given formatter.

impl From<Vec<u8>> for Bytes
[src]

Performs the conversion.

impl Into<Vec<u8>> for Bytes
[src]

Performs the conversion.

impl Serialize for Bytes
[src]

Serializes this value into this serializer.

impl Deserialize for Bytes
[src]

Deserialize this value given this Deserializer.