pub struct SendTransactionRequest {
pub transaction: Vec<u8>,
pub network: BitcoinNetwork,
}
Expand description
Argument type of bitcoin_send_transaction.
Fields§
§transaction: Vec<u8>
The serialized transaction data.
Several checks are performed.
See IC method bitcoin_send_transaction
.
network: BitcoinNetwork
See BitcoinNetwork.
Trait Implementations§
Source§impl CandidType for SendTransactionRequest
impl CandidType for SendTransactionRequest
Source§impl Clone for SendTransactionRequest
impl Clone for SendTransactionRequest
Source§fn clone(&self) -> SendTransactionRequest
fn clone(&self) -> SendTransactionRequest
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 SendTransactionRequest
impl Debug for SendTransactionRequest
Source§impl Default for SendTransactionRequest
impl Default for SendTransactionRequest
Source§fn default() -> SendTransactionRequest
fn default() -> SendTransactionRequest
Returns the “default value” for a type. Read more
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 Hash for SendTransactionRequest
impl Hash for SendTransactionRequest
Source§impl Ord for SendTransactionRequest
impl Ord for SendTransactionRequest
Source§fn cmp(&self, other: &SendTransactionRequest) -> Ordering
fn cmp(&self, other: &SendTransactionRequest) -> 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 SendTransactionRequest
impl PartialEq for SendTransactionRequest
Source§impl PartialOrd for SendTransactionRequest
impl PartialOrd 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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)