[−][src]Struct interledger_store_redis::Account
Methods
impl Account
[src]
pub fn try_from(
id: AccountId,
details: AccountDetails,
node_ilp_address: Address
) -> Result<Account, ()>
[src]
id: AccountId,
details: AccountDetails,
node_ilp_address: Address
) -> Result<Account, ()>
pub fn encrypt_tokens(
self,
encryption_key: &SealingKey
) -> AccountWithEncryptedTokens
[src]
self,
encryption_key: &SealingKey
) -> AccountWithEncryptedTokens
Trait Implementations
impl Clone for Account
[src]
impl Debug for Account
[src]
impl Serialize for Account
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Account
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl BtpAccount for Account
[src]
fn get_ilp_over_btp_url(&self) -> Option<&Url>
[src]
fn get_ilp_over_btp_outgoing_token(&self) -> Option<&[u8]>
[src]
impl CcpRoutingAccount for Account
[src]
fn routing_relation(&self) -> RoutingRelation
[src]
fn should_send_routes(&self) -> bool
[src]
fn should_receive_routes(&self) -> bool
[src]
impl HttpAccount for Account
[src]
fn get_http_url(&self) -> Option<&Url>
[src]
fn get_http_auth_token(&self) -> Option<&str>
[src]
impl Account for Account
[src]
type AccountId = AccountId
fn id(&self) -> Self::AccountId
[src]
fn username(&self) -> &Username
[src]
fn ilp_address(&self) -> &Address
[src]
fn asset_code(&self) -> &str
[src]
fn asset_scale(&self) -> u8
[src]
impl SettlementAccount for Account
[src]
fn settlement_engine_details(&self) -> Option<SettlementEngineDetails>
[src]
impl RoundTripTimeAccount for Account
[src]
fn round_trip_time(&self) -> u32
[src]
impl MaxPacketAmountAccount for Account
[src]
fn max_packet_amount(&self) -> u64
[src]
impl RateLimitAccount for Account
[src]
fn amount_per_minute_limit(&self) -> Option<u64>
[src]
fn packets_per_minute_limit(&self) -> Option<u32>
[src]
Auto Trait Implementations
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
impl RefUnwindSafe for Account
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,