Enum iota_wallet::message_interface::response::Response
source · [−]pub enum Response {
Show 29 variants
Account(AccountDto),
Accounts(Vec<AccountDto>),
Addresses(Vec<AccountAddress>),
AddressesWithUnspentOutputs(Vec<AddressWithUnspentOutputsDto>),
Output(OutputDto),
MinimumRequiredStorageDeposit(String),
OutputIds(Vec<OutputId>),
OutputData(Option<Box<OutputDataDto>>),
OutputsData(Vec<OutputDataDto>),
PreparedTransaction(PreparedTransactionDataDto),
Transaction(Option<Box<TransactionDto>>),
Transactions(Vec<TransactionDto>),
SignedTransactionData(SignedTransactionDataDto),
GeneratedAddress(Vec<AccountAddress>),
Balance(AccountBalanceDto),
LedgerNanoStatus(LedgerNanoStatus),
IncomingTransactionData(Option<Box<(TransactionId, (TransactionPayloadDto, Vec<OutputResponse>))>>),
IncomingTransactionsData(Vec<(TransactionId, (TransactionPayloadDto, Vec<OutputResponse>))>),
SentTransaction(TransactionDto),
SentTransactions(Vec<TransactionDto>),
MintTokenTransaction(MintTokenTransactionDto),
StrongholdPasswordIsAvailable(bool),
Error(Error),
Panic(String),
GeneratedMnemonic(String),
NodeInfo(NodeInfoWrapper),
HexAddress(String),
Bech32Address(String),
Ok(()),
}
Expand description
The response message.
Variants
Account(AccountDto)
Response for
CreateAccount
,
GetAccount
Accounts(Vec<AccountDto>)
Response for GetAccounts
Addresses(Vec<AccountAddress>)
Response for ListAddresses
AddressesWithUnspentOutputs(Vec<AddressWithUnspentOutputsDto>)
Response for
ListAddressesWithUnspentOutputs
Output(OutputDto)
Response for
BuildAliasOutput
BuildBasicOutput
BuildFoundryOutput
BuildNftOutput
GetFoundryOutput
PrepareOutput
MinimumRequiredStorageDeposit(String)
Response for
MinimumRequiredStorageDeposit
OutputIds(Vec<OutputId>)
Response for
[GetOutputsWithAdditionalUnlockConditions
](crate::message_interface::AccountMethod::
GetOutputsWithAdditionalUnlockConditions)
OutputData(Option<Box<OutputDataDto>>)
Response for GetOutput
OutputsData(Vec<OutputDataDto>)
Response for
ListOutputs
,
ListUnspentOutputs
PreparedTransaction(PreparedTransactionDataDto)
Response for
PrepareSendAmount
,
PrepareTransaction
Transaction(Option<Box<TransactionDto>>)
Response for
GetTransaction
,
Transactions(Vec<TransactionDto>)
Response for
ListTransactions
,
ListPendingTransactions
SignedTransactionData(SignedTransactionDataDto)
Response for
SignTransaction
GeneratedAddress(Vec<AccountAddress>)
GenerateAddress response.
Response for GenerateAddresses
Balance(AccountBalanceDto)
Response for
GetBalance
,
SyncAccount
LedgerNanoStatus(LedgerNanoStatus)
Response for
GetLedgerNanoStatus
,
IncomingTransactionData(Option<Box<(TransactionId, (TransactionPayloadDto, Vec<OutputResponse>))>>)
Response for
GetIncomingTransactionData
,
IncomingTransactionsData(Vec<(TransactionId, (TransactionPayloadDto, Vec<OutputResponse>))>)
Response for
ListIncomingTransactions
,
SentTransaction(TransactionDto)
Response for
ConsolidateOutputs
SendAmount
,
MintNfts
,
SendAmount
,
SendMicroTransaction
,
SendNativeTokens
,
SendNft
,
SendOutputs
SubmitAndStoreTransaction
SentTransactions(Vec<TransactionDto>)
Response for
ClaimOutputs
MintTokenTransaction(MintTokenTransactionDto)
Response for
MintNativeToken
,
StrongholdPasswordIsAvailable(bool)
Response for
IsStrongholdPasswordAvailable
Error(Error)
An error occurred.
Panic(String)
A panic occurred.
GeneratedMnemonic(String)
Response for GenerateMnemonic
NodeInfo(NodeInfoWrapper)
Response for GetNodeInfo
HexAddress(String)
Response for Bech32ToHex
Bech32Address(String)
Response for HexToBech32
Ok(())
Response for
Backup
,
ClearStrongholdPassword
,
RestoreBackup
,
DeleteAccountsAndDatabase
,
VerifyMnemonic
,
SetClientOptions
,
SetStrongholdPassword
,
[SetStrongholdPasswordClearInterval
](crate::message_interface::Message::
SetStrongholdPasswordClearInterval),
StoreMnemonic
,
StartBackgroundSync
,
StopBackgroundSync
,
EmitTestEvent
,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl !UnwindSafe for Response
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