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