Struct disarray_ledger::transactions::SpamId
source · Expand description
Implements a spad-id for malicious transactions
Fields
nonce: usize
pubk: String
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SpamId
impl<'de> Deserialize<'de> for SpamId
sourcefn 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
sourceimpl From<&SignedTransaction> for SpamId
impl From<&SignedTransaction> for SpamId
sourcefn from(t: &SignedTransaction) -> Self
fn from(t: &SignedTransaction) -> Self
Converts to this type from the input type.
impl Eq for SpamId
impl StructuralEq for SpamId
impl StructuralPartialEq for SpamId
Auto Trait Implementations
impl RefUnwindSafe for SpamId
impl Send for SpamId
impl Sync for SpamId
impl Unpin for SpamId
impl UnwindSafe for SpamId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.