pub struct SendTransactionRequest {
pub transaction: Vec<u8>,
pub network: BitcoinNetwork,
}๐Deprecated since 0.18.0: The
api::management_canister::bitcoin module is deprecated. Please use the bitcoin_canister module at the crate root.Expand description
Argument type of bitcoin_send_transaction.
Fieldsยง
ยงtransaction: Vec<u8>๐Deprecated since 0.18.0: The
api::management_canister::bitcoin module is deprecated. Please use the bitcoin_canister module at the crate root.The serialized transaction data.
Several checks are performed.
See IC method bitcoin_send_transaction.
network: BitcoinNetwork๐Deprecated since 0.18.0: The
api::management_canister::bitcoin module is deprecated. Please use the bitcoin_canister module at the crate root.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