Struct iota_wallet::message_interface::dtos::AccountDto
source · [−]pub struct AccountDto {
pub index: u32,
pub coin_type: u32,
pub alias: String,
pub public_addresses: Vec<AccountAddress>,
pub internal_addresses: Vec<AccountAddress>,
pub addresses_with_unspent_outputs: Vec<AddressWithUnspentOutputsDto>,
pub outputs: HashMap<OutputId, OutputDataDto>,
pub locked_outputs: HashSet<OutputId>,
pub unspent_outputs: HashMap<OutputId, OutputDataDto>,
pub transactions: HashMap<TransactionId, TransactionDto>,
pub pending_transactions: HashSet<TransactionId>,
pub incoming_transactions: HashMap<TransactionId, (TransactionPayloadDto, Vec<OutputResponse>)>,
}
Expand description
Dto for an Account.
Fields
index: u32
The account index
coin_type: u32
The coin type
alias: String
The account alias.
public_addresses: Vec<AccountAddress>
Public addresses
internal_addresses: Vec<AccountAddress>
Internal addresses
addresses_with_unspent_outputs: Vec<AddressWithUnspentOutputsDto>
Addresses with unspent outputs
outputs: HashMap<OutputId, OutputDataDto>
Outputs
locked_outputs: HashSet<OutputId>
Unspent outputs that are currently used as input for transactions
unspent_outputs: HashMap<OutputId, OutputDataDto>
Unspent outputs
transactions: HashMap<TransactionId, TransactionDto>
Sent transactions
pending_transactions: HashSet<TransactionId>
Pending transactions
incoming_transactions: HashMap<TransactionId, (TransactionPayloadDto, Vec<OutputResponse>)>
Incoming transactions
Trait Implementations
sourceimpl Clone for AccountDto
impl Clone for AccountDto
sourcefn clone(&self) -> AccountDto
fn clone(&self) -> AccountDto
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccountDto
impl Debug for AccountDto
sourceimpl<'de> Deserialize<'de> for AccountDto
impl<'de> Deserialize<'de> for AccountDto
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<&Account> for AccountDto
impl From<&Account> for AccountDto
sourceimpl Serialize for AccountDto
impl Serialize for AccountDto
Auto Trait Implementations
impl RefUnwindSafe for AccountDto
impl Send for AccountDto
impl Sync for AccountDto
impl Unpin for AccountDto
impl UnwindSafe for AccountDto
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more