Struct ic_cdk::api::management_canister::bitcoin::SendTransactionRequest
source · 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
)