pub enum TransactionOrHash {
Null,
Hash(H256),
Transaction(Transaction),
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TransactionOrHash
impl<'de> Deserialize<'de> for TransactionOrHash
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
Auto Trait Implementations§
impl Freeze for TransactionOrHash
impl RefUnwindSafe for TransactionOrHash
impl Send for TransactionOrHash
impl Sync for TransactionOrHash
impl Unpin for TransactionOrHash
impl UnwindSafe for TransactionOrHash
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