Struct eetf::Reference [] [src]

pub struct Reference {
    pub node: Atom,
    pub id: Vec<u32>,
    pub creation: u8,
}

Reference.

Fields

node: Atom id: Vec<u32> creation: u8

Trait Implementations

impl Clone for Reference
[src]

fn clone(&self) -> Reference

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 Reference
[src]

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

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

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

This method tests for !=.

impl Debug for Reference
[src]

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

Formats the value using the given formatter.

impl Display for Reference
[src]

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

Formats the value using the given formatter.

impl<'a> From<(&'a str, u32)> for Reference
[src]

fn from((node, id): (&'a str, u32)) -> Self

Performs the conversion.

impl<'a> From<(&'a str, Vec<u32>)> for Reference
[src]

fn from((node, id): (&'a str, Vec<u32>)) -> Self

Performs the conversion.