pub struct SendTransactionRequest {
pub transaction: VersionedTransaction,
pub config: Option<RpcSendTransactionConfig>,
}
Fields§
§transaction: VersionedTransaction
§config: Option<RpcSendTransactionConfig>
Implementations§
Source§impl SendTransactionRequest
impl SendTransactionRequest
pub fn new(transaction: VersionedTransaction) -> Self
pub fn new_with_config( transaction: VersionedTransaction, config: RpcSendTransactionConfig, ) -> Self
Trait Implementations§
Source§impl Debug for SendTransactionRequest
impl Debug for SendTransactionRequest
Source§impl<'de> Deserialize<'de> for SendTransactionRequest
impl<'de> Deserialize<'de> for SendTransactionRequest
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 HttpMethod for SendTransactionRequest
impl HttpMethod for SendTransactionRequest
Source§impl PartialEq for SendTransactionRequest
impl PartialEq for SendTransactionRequest
Source§impl Serialize for SendTransactionRequest
impl Serialize for SendTransactionRequest
impl Eq for SendTransactionRequest
impl StructuralPartialEq for SendTransactionRequest
Auto Trait Implementations§
impl Freeze for SendTransactionRequest
impl RefUnwindSafe for SendTransactionRequest
impl Send for SendTransactionRequest
impl Sync for SendTransactionRequest
impl Unpin for SendTransactionRequest
impl UnwindSafe for SendTransactionRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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