pub struct PersistentState {
pub tx_data: StaticTxData,
pub submitted_txs: SubmittedTxs,
}Fields§
§tx_data: StaticTxDataInformation about the transaction being currently processed.
submitted_txs: SubmittedTxsHashes of the pending transactions sent to the transaction pool.
Trait Implementations§
Source§impl Clone for PersistentState
impl Clone for PersistentState
Source§fn clone(&self) -> PersistentState
fn clone(&self) -> PersistentState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistentState
impl Debug for PersistentState
Source§impl<'de> Deserialize<'de> for PersistentState
impl<'de> Deserialize<'de> for PersistentState
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 PartialEq for PersistentState
impl PartialEq for PersistentState
Source§impl Serialize for PersistentState
impl Serialize for PersistentState
impl Eq for PersistentState
impl StructuralPartialEq for PersistentState
Auto Trait Implementations§
impl !Freeze for PersistentState
impl RefUnwindSafe for PersistentState
impl Send for PersistentState
impl Sync for PersistentState
impl Unpin for PersistentState
impl UnwindSafe for PersistentState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.