pub struct ContractCallSpecification {
pub contract_id: QualifiedContractIdentifier,
pub expected_sender: StandardPrincipalData,
pub method: ClarityName,
pub parameters: Vec<String>,
pub cost: u64,
pub anchor_block_only: bool,
}Fields§
§contract_id: QualifiedContractIdentifier§expected_sender: StandardPrincipalData§method: ClarityName§parameters: Vec<String>§cost: u64§anchor_block_only: boolImplementations§
source§impl ContractCallSpecification
impl ContractCallSpecification
pub fn from_specifications( specs: &ContractCallSpecificationFile ) -> Result<ContractCallSpecification, String>
Trait Implementations§
source§impl Clone for ContractCallSpecification
impl Clone for ContractCallSpecification
source§fn clone(&self) -> ContractCallSpecification
fn clone(&self) -> ContractCallSpecification
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 ContractCallSpecification
impl Debug for ContractCallSpecification
source§impl<'de> Deserialize<'de> for ContractCallSpecification
impl<'de> Deserialize<'de> for ContractCallSpecification
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<ContractCallSpecification> for ContractCallSpecification
impl PartialEq<ContractCallSpecification> for ContractCallSpecification
source§fn eq(&self, other: &ContractCallSpecification) -> bool
fn eq(&self, other: &ContractCallSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContractCallSpecification
Auto Trait Implementations§
impl RefUnwindSafe for ContractCallSpecification
impl Send for ContractCallSpecification
impl Sync for ContractCallSpecification
impl Unpin for ContractCallSpecification
impl UnwindSafe for ContractCallSpecification
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