Struct stacks_rpc_client::clarity::codec::TransactionContractCall
source · pub struct TransactionContractCall {
pub address: StacksAddress,
pub contract_name: ContractName,
pub function_name: ClarityName,
pub function_args: Vec<Value>,
}
Expand description
A transaction that calls into a smart contract
Fields§
§address: StacksAddress
§contract_name: ContractName
§function_name: ClarityName
§function_args: Vec<Value>
Trait Implementations§
source§impl Clone for TransactionContractCall
impl Clone for TransactionContractCall
source§fn clone(&self) -> TransactionContractCall
fn clone(&self) -> TransactionContractCall
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 TransactionContractCall
impl Debug for TransactionContractCall
source§impl<'de> Deserialize<'de> for TransactionContractCall
impl<'de> Deserialize<'de> for TransactionContractCall
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TransactionContractCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TransactionContractCall, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TransactionContractCall
impl PartialEq for TransactionContractCall
source§fn eq(&self, other: &TransactionContractCall) -> bool
fn eq(&self, other: &TransactionContractCall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionContractCall
impl Serialize for TransactionContractCall
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl StacksMessageCodec for TransactionContractCall
impl StacksMessageCodec for TransactionContractCall
source§fn consensus_serialize<W>(&self, fd: &mut W) -> Result<(), Error>where
W: Write,
fn consensus_serialize<W>(&self, fd: &mut W) -> Result<(), Error>where W: Write,
serialize implementors should never error unless there is an underlying
failure in writing to the
fd
fn consensus_deserialize<R>( fd: &mut R ) -> Result<TransactionContractCall, Error>where R: Read,
impl StructuralPartialEq for TransactionContractCall
Auto Trait Implementations§
impl RefUnwindSafe for TransactionContractCall
impl Send for TransactionContractCall
impl Sync for TransactionContractCall
impl Unpin for TransactionContractCall
impl UnwindSafe for TransactionContractCall
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