Enum ethers_core::abi::Topic
source · pub enum Topic<T> {
Any,
OneOf(Vec<T>),
This(T),
}
Expand description
Acceptable topic possibilities.
Variants§
Implementations§
Trait Implementations§
source§impl<T> PartialEq for Topic<T>where
T: PartialEq,
impl<T> PartialEq for Topic<T>where
T: PartialEq,
source§impl Serialize for Topic<H256>
Available on crate feature serde
only.
impl Serialize for Topic<H256>
Available on crate feature
serde
only.source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> Eq for Topic<T>where
T: Eq,
impl<T> StructuralPartialEq for Topic<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Topic<T>where
T: RefUnwindSafe,
impl<T> Send for Topic<T>where
T: Send,
impl<T> Sync for Topic<T>where
T: Sync,
impl<T> Unpin for Topic<T>where
T: Unpin,
impl<T> UnwindSafe for Topic<T>where
T: UnwindSafe,
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