Enum miden_objects::transaction::AccountDetails
source · pub enum AccountDetails {
Full(Account),
Delta(AccountDelta),
}Variants§
Full(Account)
The whole state is needed for new accounts
Delta(AccountDelta)
For existing accounts, only the delta is needed.
Trait Implementations§
source§impl Clone for AccountDetails
impl Clone for AccountDetails
source§fn clone(&self) -> AccountDetails
fn clone(&self) -> AccountDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AccountDetails
impl Debug for AccountDetails
source§impl Deserializable for AccountDetails
impl Deserializable for AccountDetails
source§fn read_from<R: ByteReader>(
source: &mut R
) -> Result<Self, DeserializationError>
fn read_from<R: ByteReader>( source: &mut R ) -> Result<Self, DeserializationError>
Reads a sequence of bytes from the provided
source, attempts to deserialize these bytes
into Self, and returns the result. Read moresource§fn read_from_bytes(bytes: &[u8]) -> Result<Self, DeserializationError>
fn read_from_bytes(bytes: &[u8]) -> Result<Self, DeserializationError>
source§impl PartialEq for AccountDetails
impl PartialEq for AccountDetails
source§fn eq(&self, other: &AccountDetails) -> bool
fn eq(&self, other: &AccountDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serializable for AccountDetails
impl Serializable for AccountDetails
source§fn write_into<W: ByteWriter>(&self, target: &mut W)
fn write_into<W: ByteWriter>(&self, target: &mut W)
Serializes
self into bytes and writes these bytes into the target.source§fn get_size_hint(&self) -> usize
fn get_size_hint(&self) -> usize
Returns an estimate of how many bytes are needed to represent self. Read more
impl Eq for AccountDetails
impl StructuralPartialEq for AccountDetails
Auto Trait Implementations§
impl Freeze for AccountDetails
impl RefUnwindSafe for AccountDetails
impl Send for AccountDetails
impl Sync for AccountDetails
impl Unpin for AccountDetails
impl UnwindSafe for AccountDetails
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