[][src]Struct interledger_api::AccountSettings

pub struct AccountSettings {
    pub ilp_over_http_incoming_token: Option<SecretString>,
    pub ilp_over_btp_incoming_token: Option<SecretString>,
    pub ilp_over_http_outgoing_token: Option<SecretString>,
    pub ilp_over_btp_outgoing_token: Option<SecretString>,
    pub ilp_over_http_url: Option<String>,
    pub ilp_over_btp_url: Option<String>,
    pub settle_threshold: Option<i64>,
    pub settle_to: Option<u64>,
}

AccountSettings is a subset of the user parameters defined in AccountDetails. Its purpose is to allow a user to modify certain of their parameters which they may want to re-configure in the future, such as their tokens (which act as passwords), their settlement frequency preferences, or their HTTP/BTP endpoints, since they may change their network configuration.

Fields

ilp_over_http_incoming_token: Option<SecretString>ilp_over_btp_incoming_token: Option<SecretString>ilp_over_http_outgoing_token: Option<SecretString>ilp_over_btp_outgoing_token: Option<SecretString>ilp_over_http_url: Option<String>ilp_over_btp_url: Option<String>settle_threshold: Option<i64>settle_to: Option<u64>

Trait Implementations

impl Clone for AccountSettings[src]

impl Default for AccountSettings[src]

impl Debug for AccountSettings[src]

impl Serialize for AccountSettings[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,