[][src]Struct stellar_toml::StellarToml

pub struct StellarToml {
    pub version: Option<String>,
    pub network_passphrase: Option<String>,
    pub federation_server: Option<Uri>,
    pub auth_server: Option<Uri>,
    pub transfer_server: Option<Uri>,
    pub transfer_server_sep0024: Option<Uri>,
    pub kyc_server: Option<Uri>,
    pub web_auth_endpoint: Option<Uri>,
    pub signing_key: Option<PublicKey>,
    pub horizon_url: Option<String>,
    pub accounts: Vec<String>,
    pub uri_request_signing_key: Option<String>,
    pub documentation: Option<Documentation>,
    pub principals: Vec<PointOfContact>,
    pub currencies: Vec<Currency>,
    pub validators: Vec<Validator>,
}

The stellar.toml file is used to provide a common place where the Internet can find information about your organization’s Stellar integration.

Fields

version: Option<String>

The version of SEP-1 your stellar.toml adheres to. This helps parsers know which fields to expect.

network_passphrase: Option<String>

The passphrase for the specific Stellar network this infrastructure operates on.

federation_server: Option<Uri>

The endpoint for clients to resolve stellar addresses for users on your domain via SEP-2 Federation Protocol.

auth_server: Option<Uri>

The endpoint used for SEP-3 Compliance Protocol.

transfer_server: Option<Uri>

The server used for SEP-6 Anchor/Client interoperability.

transfer_server_sep0024: Option<Uri>

The server used for SEP-24 Anchor/Client interoperability.

kyc_server: Option<Uri>

The server used for SEP-12 Anchor/Client customer info transfer.

web_auth_endpoint: Option<Uri>

The endpoint used for SEP-10 Web Authentication.

signing_key: Option<PublicKey>

The signing key is used for SEP-3 Compliance Protocol and SEP-10 Authentication Protocol.

horizon_url: Option<String>

Location of public-facing Horizon instance (if you offer one)

accounts: Vec<String>

A list of Stellar accounts that are controlled by this domain.

uri_request_signing_key: Option<String>

The signing key is used for SEP-7 delegated signing.

documentation: Option<Documentation>

Information about the organization.

principals: Vec<PointOfContact>

Information about the organization principals.

currencies: Vec<Currency>

Information about supported currencies.

validators: Vec<Validator>

Information about the organization validators.

Trait Implementations

impl Clone for StellarToml[src]

impl Debug for StellarToml[src]

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

impl Serialize for StellarToml[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.