Struct shuttle_core::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 Debug for Network
[src]

[src]

Formats the value using the given formatter.

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 PartialEq for Network
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Network
[src]