Struct tox::toxcore::state_format::old::Name[][src]

pub struct Name(pub Vec<u8>);

Own name, up to NAME_LEN bytes long.

Trait Implementations

impl Clone for Name
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Name
[src]

Formats the value using the given formatter. Read more

impl Default for Name
[src]

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

impl Eq for Name
[src]

impl PartialEq for Name
[src]

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

This method tests for !=.

impl FromBytes for Name
[src]

Produces up to NAME_LEN bytes long Name. Can't fail.

Deserialize struct using nom from raw bytes

impl ToBytes for Name
[src]

Serialize struct into raw bytes using cookie_factory

Auto Trait Implementations

impl Send for Name

impl Sync for Name