pub struct SignedTransaction {
pub transaction: Transaction,
pub transaction_id: String,
pub sig: TransactionSignature,
pub auth_address: Option<Address>,
}
Expand description
Wraps a transaction in a signature. The encoding of this struct is suitable to be broadcast on the network
Fields
transaction: Transaction
transaction_id: String
sig: TransactionSignature
auth_address: Option<Address>
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<'de> Deserialize<'de> for SignedTransaction
impl<'de> Deserialize<'de> for SignedTransaction
Convenience to deserialize SignedTransaction directly from msg pack
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 ApiSignedTransaction
impl From<SignedTransaction> for ApiSignedTransaction
sourcefn from(t: SignedTransaction) -> Self
fn from(t: SignedTransaction) -> Self
Converts to this type from the input type.
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
Convenience to serialize SignedTransaction directly to msg pack
sourceimpl ToMsgPack for SignedTransaction
impl ToMsgPack for SignedTransaction
sourceimpl TryFrom<ApiSignedTransaction> for SignedTransaction
impl TryFrom<ApiSignedTransaction> for SignedTransaction
type Error = TransactionError
type Error = TransactionError
The type returned in the event of a conversion error.
sourcefn try_from(api_t: ApiSignedTransaction) -> Result<Self, Self::Error>
fn try_from(api_t: ApiSignedTransaction) -> Result<Self, Self::Error>
Performs the conversion.
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.