pub struct LedgerParams<'a> {
pub operator: &'a str,
pub name: &'a str,
pub currency: &'a str,
pub created: u64,
pub confirmations: u64,
}Expand description
What new_ledger is given (newLedger’s second argument). The
defaults are the teller’s: currency txbt4, one confirmation.
Fields§
§operator: &'a strThe operator, any form account_of reads.
name: &'a strThe name, 1 to MAX_NAME characters.
currency: &'a strThe currency.
created: u64Unix seconds at creation (the teller takes the clock; this crate takes it from the caller).
confirmations: u64Confirmations before a deposit is credited.
Implementations§
Source§impl<'a> LedgerParams<'a>
impl<'a> LedgerParams<'a>
Trait Implementations§
Source§impl<'a> Clone for LedgerParams<'a>
impl<'a> Clone for LedgerParams<'a>
Source§impl<'a> Debug for LedgerParams<'a>
impl<'a> Debug for LedgerParams<'a>
impl<'a> Eq for LedgerParams<'a>
Source§impl<'a> PartialEq for LedgerParams<'a>
impl<'a> PartialEq for LedgerParams<'a>
impl<'a> StructuralPartialEq for LedgerParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for LedgerParams<'a>
impl<'a> RefUnwindSafe for LedgerParams<'a>
impl<'a> Send for LedgerParams<'a>
impl<'a> Sync for LedgerParams<'a>
impl<'a> Unpin for LedgerParams<'a>
impl<'a> UnsafeUnpin for LedgerParams<'a>
impl<'a> UnwindSafe for LedgerParams<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.