[][src]Struct tendermint::chain::id::Id

pub struct Id(_);

Chain identifier (e.g. 'gaia-9000')

Methods

impl Id
[src]

Create a new chain ID

Get the chain ID as a str

Trait Implementations

impl Clone for Id
[src]

Performs copy-assignment from source. Read more

impl Copy for Id
[src]

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

impl Eq for Id
[src]

impl AsRef<str> for Id
[src]

impl PartialOrd<Id> for Id
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Id> for Id
[src]

This method tests for !=.

impl Ord for Id
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Debug for Id
[src]

impl Display for Id
[src]

impl Hash for Id
[src]

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

impl FromStr for Id
[src]

The associated error which can be returned from parsing.

impl Serialize for Id
[src]

impl<'de> Deserialize<'de> for Id
[src]

Auto Trait Implementations

impl Send for Id

impl Sync for Id

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

Should always be Self