[−][src]Struct solana_libra_language_e2e_tests::account_universe::AccountCurrent
Represents the current state of account in a universe, possibly after its state has been updated by running transactions against the universe.
Methods
impl AccountCurrent
[src]
pub fn account(&self) -> &Account
[src]
Returns the underlying account.
pub fn rotate_key(
&mut self,
privkey: Ed25519PrivateKey,
pubkey: Ed25519PublicKey
)
[src]
&mut self,
privkey: Ed25519PrivateKey,
pubkey: Ed25519PublicKey
)
Rotates the key in this account.
pub fn balance(&self) -> u64
[src]
Returns the current balance for this account, assuming all transactions seen so far are applied.
pub fn sequence_number(&self) -> u64
[src]
Returns the current sequence number for this account, assuming all transactions seen so far are applied.
pub fn sent_events_count(&self) -> u64
[src]
Returns the current sent events count for this account, assuming all transactions seen so far are applied.
pub fn received_events_count(&self) -> u64
[src]
Returns the current received events count for this account, assuming all transactions seen so far are applied.
Trait Implementations
impl Clone for AccountCurrent
[src]
fn clone(&self) -> AccountCurrent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccountCurrent
[src]
impl Eq for AccountCurrent
[src]
impl PartialEq<AccountCurrent> for AccountCurrent
[src]
fn eq(&self, other: &AccountCurrent) -> bool
[src]
fn ne(&self, other: &AccountCurrent) -> bool
[src]
impl StructuralEq for AccountCurrent
[src]
impl StructuralPartialEq for AccountCurrent
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccountCurrent
impl Send for AccountCurrent
impl Sync for AccountCurrent
impl Unpin for AccountCurrent
impl UnwindSafe for AccountCurrent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,