pub struct Transaction {
pub signatures: Vec<[u8; 64]>,
pub message: Message,
}Expand description
A signed Solana transaction.
Fields§
§signatures: Vec<[u8; 64]>Ed25519 signatures (64 bytes each).
message: MessageThe message that was signed.
Implementations§
Source§impl Transaction
impl Transaction
Source§impl Transaction
impl Transaction
Sourcepub fn deserialize(data: &[u8]) -> Result<Self, SignerError>
pub fn deserialize(data: &[u8]) -> Result<Self, SignerError>
Deserialize a signed legacy transaction from wire-format bytes.
Trait Implementations§
Source§impl Clone for Transaction
impl Clone for Transaction
Source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnsafeUnpin for Transaction
impl UnwindSafe for Transaction
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