pub struct VersionedTransaction {
pub signatures: Vec<Signature>,
pub message: VersionedMessage,
}Fields§
§signatures: Vec<Signature>List of signatures
message: VersionedMessageMessage to sign.
Trait Implementations§
Source§impl Clone for VersionedTransaction
impl Clone for VersionedTransaction
Source§fn clone(&self) -> VersionedTransaction
fn clone(&self) -> VersionedTransaction
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 moreSource§impl Debug for VersionedTransaction
impl Debug for VersionedTransaction
Source§impl DecodableWithMeta for VersionedTransaction
impl DecodableWithMeta for VersionedTransaction
type Encoded = EncodedTransaction
type Decoded = VersionedTransaction
fn decode_with_meta( encoded: Self::Encoded, decoding: UiTransactionEncoding, version: Option<TransactionVersion>, ) -> Result<Self::Decoded, DecodeError>
fn json_decode( encoded: Self::Encoded, version: Option<TransactionVersion>, ) -> Result<Self::Decoded, DecodeError>
Source§impl Default for VersionedTransaction
impl Default for VersionedTransaction
Source§fn default() -> VersionedTransaction
fn default() -> VersionedTransaction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionedTransaction
impl<'de> Deserialize<'de> for VersionedTransaction
Source§fn 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
Source§impl From<VersionedTransaction> for VersionedTransaction
impl From<VersionedTransaction> for VersionedTransaction
Source§fn from(tx: VersionedTransaction) -> Self
fn from(tx: VersionedTransaction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VersionedTransaction
impl PartialEq for VersionedTransaction
Source§impl Serialize for VersionedTransaction
impl Serialize for VersionedTransaction
impl Eq for VersionedTransaction
impl StructuralPartialEq for VersionedTransaction
Auto Trait Implementations§
impl Freeze for VersionedTransaction
impl RefUnwindSafe for VersionedTransaction
impl Send for VersionedTransaction
impl Sync for VersionedTransaction
impl Unpin for VersionedTransaction
impl UnwindSafe for VersionedTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more