pub struct HashedTransaction<'a> {
pub message_hash: Hash,
/* private fields */
}
Expand description
Transaction and the hash of its message
Fields
message_hash: Hash
Implementations
pub fn new(
transaction: Cow<'a, Transaction>,
message_hash: Hash,
is_simple_vote_tx: Option<bool>
) -> Self
Returns true if this transaction is a simple vote
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for HashedTransaction<'a>
impl<'a> Send for HashedTransaction<'a>
impl<'a> Sync for HashedTransaction<'a>
impl<'a> Unpin for HashedTransaction<'a>
impl<'a> UnwindSafe for HashedTransaction<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more