Struct genet_sdk::token::Token[][src]

#[repr(C)]
pub struct Token(_);

A token value.

Methods

impl Token
[src]

Returns a null token.

Returns the corresponded string.

Trait Implementations

impl From<String> for Token
[src]

Performs the conversion.

impl<'a> From<&'a Token> for Token
[src]

Performs the conversion.

impl<'a> From<&'a str> for Token
[src]

Performs the conversion.

impl From<u32> for Token
[src]

Performs the conversion.

impl Into<u32> for Token
[src]

Performs the conversion.

impl Hash for Token
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Token
[src]

Formats the value using the given formatter. Read more

impl Debug for Token
[src]

Formats the value using the given formatter. Read more

impl Copy for Token
[src]

impl Eq for Token
[src]

impl PartialEq<Token> for Token
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Token

impl Sync for Token