pub enum MtEvent<'a> {
MtMint(Cow<'a, [MtMintEvent<'a>]>),
MtBurn(Cow<'a, [MtBurnEvent<'a>]>),
MtTransfer(Cow<'a, [MtTransferEvent<'a>]>),
}
Variants§
MtMint(Cow<'a, [MtMintEvent<'a>]>)
MtBurn(Cow<'a, [MtBurnEvent<'a>]>)
MtTransfer(Cow<'a, [MtTransferEvent<'a>]>)
Implementations§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for MtEvent<'a>
impl<'de, 'a> Deserialize<'de> for MtEvent<'a>
Source§fn 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
Source§impl<'a> From<Cow<'a, [MtBurnEvent<'a>]>> for MtEvent<'a>
impl<'a> From<Cow<'a, [MtBurnEvent<'a>]>> for MtEvent<'a>
Source§fn from(value: Cow<'a, [MtBurnEvent<'a>]>) -> Self
fn from(value: Cow<'a, [MtBurnEvent<'a>]>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, [MtMintEvent<'a>]>> for MtEvent<'a>
impl<'a> From<Cow<'a, [MtMintEvent<'a>]>> for MtEvent<'a>
Source§fn from(value: Cow<'a, [MtMintEvent<'a>]>) -> Self
fn from(value: Cow<'a, [MtMintEvent<'a>]>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for MtEvent<'a>
impl<'a> RefUnwindSafe for MtEvent<'a>
impl<'a> Send for MtEvent<'a>
impl<'a> Sync for MtEvent<'a>
impl<'a> Unpin for MtEvent<'a>
impl<'a> UnwindSafe for MtEvent<'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