Struct shuttle_sdk::Network [] [src]

pub struct Network { /* fields omitted */ }

A Stellar Network.

Methods

impl Network
[src]

[src]

Create new network with passphrase.

[src]

Create new network with the same passphrase as SDF public network.

[src]

Create new network with the same passphrase as SDF test network.

[src]

Return the network passphrase.

[src]

Return the network id, which is the hash of the network passphrase.

Trait Implementations

impl Clone for Network
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Network
[src]

impl PartialEq<Network> for Network
[src]

[src]

[src]

impl Debug for Network
[src]

[src]

Formats the value using the given formatter.