[][src]Struct interledger_api::EncryptedAccountSettings

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

EncryptedAccountSettings is created by encrypting the incoming and outgoing HTTP and BTP tokens of an AccountSettings object. The rest of the fields remain the same. It is intended to be consumed by the internal store implementation which operates only on encrypted data.

Fields

ilp_over_http_incoming_token: Option<Bytes>ilp_over_btp_incoming_token: Option<Bytes>ilp_over_http_outgoing_token: Option<Bytes>ilp_over_btp_outgoing_token: Option<Bytes>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 EncryptedAccountSettings[src]

impl Default for EncryptedAccountSettings[src]

impl Debug for EncryptedAccountSettings[src]

impl Serialize for EncryptedAccountSettings[src]

impl<'de> Deserialize<'de> for EncryptedAccountSettings[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>, 

impl<T> Erased for T