pub struct SignTransaction {
pub version: SemverVersion,
pub legacy: bool,
pub version_zero: bool,
/* private fields */
}
Expand description
Used in solana:SignTransaction
and solana:SignAndSendTransaction
.
Fields§
§version: SemverVersion
The semver version of the callback function supported by the wallet
legacy: bool
Whether the wallet supports signing legacy transactions. If a wallet does not support this an error is returned
version_zero: bool
Whether the wallet supports signing versioned transactions
Trait Implementations§
Source§impl Clone for SignTransaction
impl Clone for SignTransaction
Source§fn clone(&self) -> SignTransaction
fn clone(&self) -> SignTransaction
Returns a copy 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 SignTransaction
impl Debug for SignTransaction
Source§impl Default for SignTransaction
impl Default for SignTransaction
Source§fn default() -> SignTransaction
fn default() -> SignTransaction
Returns the “default value” for a type. Read more
Source§impl Hash for SignTransaction
impl Hash for SignTransaction
Source§impl Ord for SignTransaction
impl Ord for SignTransaction
Source§impl PartialEq for SignTransaction
impl PartialEq for SignTransaction
Source§impl PartialOrd for SignTransaction
impl PartialOrd for SignTransaction
impl Eq for SignTransaction
impl StructuralPartialEq for SignTransaction
Auto Trait Implementations§
impl Freeze for SignTransaction
impl RefUnwindSafe for SignTransaction
impl !Send for SignTransaction
impl !Sync for SignTransaction
impl Unpin for SignTransaction
impl UnwindSafe for SignTransaction
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