Struct disarray_ledger::transactions::SignedTransaction
source · pub struct SignedTransaction {
pub sign: Sign,
pub transaction: Transaction,
}
Fields
sign: Sign
transaction: Transaction
Implementations
sourceimpl SignedTransaction
impl SignedTransaction
pub fn new(sign: Sign, transaction: Transaction) -> Self
Trait Implementations
sourceimpl Clone for SignedTransaction
impl Clone for SignedTransaction
sourcefn clone(&self) -> SignedTransaction
fn clone(&self) -> SignedTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SignedTransaction
impl Debug for SignedTransaction
sourceimpl Default for SignedTransaction
impl Default for SignedTransaction
sourcefn default() -> SignedTransaction
fn default() -> SignedTransaction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SignedTransaction
impl<'de> Deserialize<'de> for SignedTransaction
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 Display for SignedTransaction
impl Display for SignedTransaction
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.
sourceimpl Hash for SignedTransaction
impl Hash for SignedTransaction
sourceimpl Hashable for SignedTransaction
impl Hashable for SignedTransaction
sourceimpl PartialEq<SignedTransaction> for SignedTransaction
impl PartialEq<SignedTransaction> for SignedTransaction
sourcefn eq(&self, other: &SignedTransaction) -> bool
fn eq(&self, other: &SignedTransaction) -> bool
sourceimpl Serialize for SignedTransaction
impl Serialize for SignedTransaction
impl Eq for SignedTransaction
impl StructuralEq for SignedTransaction
impl StructuralPartialEq for SignedTransaction
Auto Trait Implementations
impl RefUnwindSafe for SignedTransaction
impl Send for SignedTransaction
impl Sync for SignedTransaction
impl Unpin for SignedTransaction
impl UnwindSafe for SignedTransaction
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.