Enum wallet_core::Fragment
pub enum Fragment {
Show 16 variants
Initial(ConfigParams),
OldUtxoDeclaration(UtxoDeclaration),
Transaction(Transaction<NoExtra>),
OwnerStakeDelegation(Transaction<OwnerStakeDelegation>),
StakeDelegation(Transaction<StakeDelegation>),
PoolRegistration(Transaction<PoolRegistration>),
PoolRetirement(Transaction<PoolRetirement>),
PoolUpdate(Transaction<PoolUpdate>),
UpdateProposal(Transaction<UpdateProposal>),
UpdateVote(Transaction<UpdateVote>),
VotePlan(Transaction<VotePlan>),
VoteCast(Transaction<VoteCast>),
VoteTally(Transaction<VoteTally>),
MintToken(Transaction<MintToken>),
Evm(EvmTransaction),
EvmMapping(Transaction<EvmMapping>),
}
Expand description
All possible messages recordable in the content
Variants§
Initial(ConfigParams)
OldUtxoDeclaration(UtxoDeclaration)
Transaction(Transaction<NoExtra>)
OwnerStakeDelegation(Transaction<OwnerStakeDelegation>)
StakeDelegation(Transaction<StakeDelegation>)
PoolRegistration(Transaction<PoolRegistration>)
PoolRetirement(Transaction<PoolRetirement>)
PoolUpdate(Transaction<PoolUpdate>)
UpdateProposal(Transaction<UpdateProposal>)
UpdateVote(Transaction<UpdateVote>)
VotePlan(Transaction<VotePlan>)
VoteCast(Transaction<VoteCast>)
VoteTally(Transaction<VoteTally>)
MintToken(Transaction<MintToken>)
Evm(EvmTransaction)
EvmMapping(Transaction<EvmMapping>)
Implementations§
Trait Implementations§
§impl Deserialize for Fragment
impl Deserialize for Fragment
fn deserialize<R>(codec: &mut Codec<R>) -> Result<Fragment, ReadError>where R: Read,
fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,
§impl Serialize for Fragment
impl Serialize for Fragment
impl Eq for Fragment
Auto Trait Implementations§
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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
§impl<T> DeserializeFromSlice for Twhere
T: Deserialize,
impl<T> DeserializeFromSlice for Twhere T: Deserialize,
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<T, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more