Enum chain_impl_mockchain::ledger::iter::Entry
source · pub enum Entry<'a> {
Globals(Globals),
Pot(Entry),
Utxo(Entry<'a, Address>),
OldUtxo(Entry<'a, OldAddress>),
Account((&'a Identifier, &'a AccountState<()>)),
ConfigParam(ConfigParam),
UpdateProposal((&'a UpdateProposalId, &'a UpdateProposalState)),
MultisigAccount((&'a Identifier, &'a AccountState<()>)),
MultisigDeclaration((&'a Identifier, &'a Declaration)),
StakePool((&'a PoolId, &'a PoolState)),
LeaderParticipation((&'a PoolId, &'a u32)),
VotePlan(&'a VotePlan),
}
Variants§
Globals(Globals)
Pot(Entry)
Utxo(Entry<'a, Address>)
OldUtxo(Entry<'a, OldAddress>)
Account((&'a Identifier, &'a AccountState<()>))
ConfigParam(ConfigParam)
UpdateProposal((&'a UpdateProposalId, &'a UpdateProposalState))
MultisigAccount((&'a Identifier, &'a AccountState<()>))
MultisigDeclaration((&'a Identifier, &'a Declaration))
StakePool((&'a PoolId, &'a PoolState))
LeaderParticipation((&'a PoolId, &'a u32))
VotePlan(&'a VotePlan)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> Send for Entry<'a>
impl<'a> Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'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