Struct dharitri_wasm::abi::ContractAbi
source · pub struct ContractAbi {
pub docs: &'static [&'static str],
pub name: &'static str,
pub endpoints: Vec<EndpointAbi>,
pub type_descriptions: TypeDescriptionContainerImpl,
}Fields§
§docs: &'static [&'static str]§name: &'static str§endpoints: Vec<EndpointAbi>§type_descriptions: TypeDescriptionContainerImplImplementations§
source§impl ContractAbi
impl ContractAbi
pub fn coalesce(&mut self, other: Self)
sourcepub fn add_type_descriptions<T: TypeAbi>(&mut self)
pub fn add_type_descriptions<T: TypeAbi>(&mut self)
A type can provide more than 1 type descripions. For instance, a struct can also provide the descriptions of its fields.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ContractAbi
impl Send for ContractAbi
impl Sync for ContractAbi
impl Unpin for ContractAbi
impl UnwindSafe for ContractAbi
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