[−][src]Struct interledger_store_memory::AccountBuilder
A helper to create Accounts.
Methods
impl AccountBuilder
[src]
pub fn new() -> Self
[src]
pub fn build(self) -> Account
[src]
pub fn id(self, id: u64) -> Self
[src]
pub fn ilp_address(self, ilp_address: &[u8]) -> Self
[src]
pub fn additional_routes(self, routes: &[&[u8]]) -> Self
[src]
pub fn asset_code(self, asset_code: String) -> Self
[src]
pub fn asset_scale(self, asset_scale: u8) -> Self
[src]
pub fn http_endpoint(self, http_endpoint: Url) -> Self
[src]
pub fn http_incoming_authorization(self, auth_header: String) -> Self
[src]
pub fn http_outgoing_authorization(self, auth_header: String) -> Self
[src]
pub fn btp_uri(self, uri: Url) -> Self
[src]
pub fn btp_incoming_token(self, auth_token: String) -> Self
[src]
pub fn btp_incoming_username(self, username: Option<String>) -> Self
[src]
pub fn max_packet_amount(self, amount: u64) -> Self
[src]
Trait Implementations
impl Default for AccountBuilder
[src]
fn default() -> AccountBuilder
[src]
Auto Trait Implementations
impl Send for AccountBuilder
impl Sync for AccountBuilder
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self