Struct substrate_stellar_sdk::network::Network[][src]

pub struct Network { /* fields omitted */ }
Expand description

A wrapper type for the passphrase of a Stellar network

The SHA-256 hash of this passphrase is used for signing transactions. This makes sure that a signed transaction is only valid for a network having the specified passphrase.

Implementations

Construct a new Network for the given passphrase

Return the passphrase of the network

Return the SHA-256 hash of the passphrase

This hash is used for signing transactions.

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.