Struct clarity_repl::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<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 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§impl StacksMessageCodec for TransactionContractCall
impl StacksMessageCodec for TransactionContractCall
source§fn consensus_serialize<W: Write>(&self, fd: &mut W) -> Result<(), CodecError>
fn consensus_serialize<W: Write>(&self, fd: &mut W) -> Result<(), CodecError>
serialize implementors should never error unless there is an underlying
failure in writing to the
fdfn consensus_deserialize<R: Read>( fd: &mut R ) -> Result<TransactionContractCall, CodecError>
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