pub struct Identity {
    pub address: Address,
    pub public_key: PublicKey,
    pub secret_key: Option<SecretKey>,
}
Expand description

Combination of Address, PublicKey and optionally SecretKey.

Fields

address: Addresspublic_key: PublicKeysecret_key: Option<SecretKey>

Implementations

Read ZeroTier identity from given location.

Read ZeroTier identity from default location.

Trait Implementations

TODO: use IO reader instead

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.