pub struct SendOptions { /* private fields */ }
Expand description
Options used in the solana:signAndSendTransaction
method
on a crate::Wallet. These options are:
Implementations§
Source§impl SendOptions
impl SendOptions
Sourcepub fn to_object(&self) -> WalletResult<JsValue>
pub fn to_object(&self) -> WalletResult<JsValue>
Converts SendOptions to a JsValue which can be passed to the browser wallet when making requests. Internally, it is a js_sys::Object
Trait Implementations§
Source§impl Clone for SendOptions
impl Clone for SendOptions
Source§fn clone(&self) -> SendOptions
fn clone(&self) -> SendOptions
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 SendOptions
impl Debug for SendOptions
Source§impl Default for SendOptions
impl Default for SendOptions
Source§fn default() -> SendOptions
fn default() -> SendOptions
Returns the “default value” for a type. Read more
Source§impl Hash for SendOptions
impl Hash for SendOptions
Source§impl Ord for SendOptions
impl Ord for SendOptions
Source§fn cmp(&self, other: &SendOptions) -> Ordering
fn cmp(&self, other: &SendOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SendOptions
impl PartialEq for SendOptions
Source§impl PartialOrd for SendOptions
impl PartialOrd for SendOptions
impl Copy for SendOptions
impl Eq for SendOptions
impl StructuralPartialEq for SendOptions
Auto Trait Implementations§
impl Freeze for SendOptions
impl RefUnwindSafe for SendOptions
impl Send for SendOptions
impl Sync for SendOptions
impl Unpin for SendOptions
impl UnwindSafe for SendOptions
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