[][src]Struct interledger_api::AccountSettings

pub struct AccountSettings {
    pub http_incoming_token: Option<String>,
    pub btp_incoming_token: Option<String>,
    pub http_outgoing_token: Option<String>,
    pub btp_outgoing_token: Option<String>,
    pub http_endpoint: Option<String>,
    pub btp_uri: 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

http_incoming_token: Option<String>btp_incoming_token: Option<String>http_outgoing_token: Option<String>btp_outgoing_token: Option<String>http_endpoint: Option<String>btp_uri: Option<String>settle_threshold: Option<i64>settle_to: Option<u64>

Trait Implementations

impl Default for AccountSettings[src]

impl Clone for AccountSettings[src]

impl Debug for AccountSettings[src]

impl<B: BufStream> Extract<B> for AccountSettings[src]

type Future = ExtractFuture<B>

The future representing the completion of the extraction logic.

impl Response for AccountSettings[src]

type Buf = <Self::Body as BufStream>::Item

Data chunk type.

type Body = Map<Bytes>

The HTTP response body type.

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

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