Struct eetf::Binary [] [src]

pub struct Binary {
    pub bytes: Vec<u8>,
}

Binary.

Fields

bytes: Vec<u8>

Trait Implementations

impl Clone for Binary
[src]

fn clone(&self) -> Binary

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Binary
[src]

fn eq(&self, __arg_0: &Binary) -> bool

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

fn ne(&self, __arg_0: &Binary) -> bool

This method tests for !=.

impl Debug for Binary
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Binary
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> From<&'a [u8]> for Binary
[src]

fn from(bytes: &'a [u8]) -> Self

Performs the conversion.

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

fn from(bytes: Vec<u8>) -> Self

Performs the conversion.