pub struct ContractAbiJson {
pub build_info: Option<BuildInfoAbiJson>,
pub docs: Vec<String>,
pub name: String,
pub constructor: Option<ConstructorAbiJson>,
pub upgrade_constructor: Option<ConstructorAbiJson>,
pub endpoints: Vec<EndpointAbiJson>,
pub promises_callback_names: Vec<String>,
pub events: Vec<EventAbiJson>,
pub esdt_attributes: Vec<EsdtAttributeJson>,
pub has_callback: bool,
pub types: BTreeMap<String, TypeDescriptionJson>,
}
Fields§
§build_info: Option<BuildInfoAbiJson>
§docs: Vec<String>
§name: String
§constructor: Option<ConstructorAbiJson>
§upgrade_constructor: Option<ConstructorAbiJson>
§endpoints: Vec<EndpointAbiJson>
§promises_callback_names: Vec<String>
§events: Vec<EventAbiJson>
§esdt_attributes: Vec<EsdtAttributeJson>
§has_callback: bool
§types: BTreeMap<String, TypeDescriptionJson>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContractAbiJson
impl<'de> Deserialize<'de> for ContractAbiJson
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 From<&ContractAbi> for ContractAbiJson
impl From<&ContractAbi> for ContractAbiJson
Source§fn from(abi: &ContractAbi) -> Self
fn from(abi: &ContractAbi) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContractAbiJson
impl RefUnwindSafe for ContractAbiJson
impl Send for ContractAbiJson
impl Sync for ContractAbiJson
impl Unpin for ContractAbiJson
impl UnwindSafe for ContractAbiJson
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