pub struct ContractMeta<F: Form = MetaForm> {
pub name: String,
pub constructor: ConstructorSpec<F>,
}Fields§
§name: String§constructor: ConstructorSpec<F>Trait Implementations§
Source§impl<'de, F: Form> Deserialize<'de> for ContractMeta<F>
impl<'de, F: Form> Deserialize<'de> for ContractMeta<F>
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 IntoPortable for ContractMeta
impl IntoPortable for ContractMeta
Source§type Output = ContractMeta<PortableForm>
type Output = ContractMeta<PortableForm>
The portable version of
Self.Source§fn into_portable(self, registry: &mut Registry) -> Self::Output
fn into_portable(self, registry: &mut Registry) -> Self::Output
Convert
self to the portable form by using the registry for caching.Auto Trait Implementations§
impl<F> Freeze for ContractMeta<F>
impl<F> RefUnwindSafe for ContractMeta<F>
impl<F> Send for ContractMeta<F>
impl<F> Sync for ContractMeta<F>
impl<F> Unpin for ContractMeta<F>
impl<F> UnwindSafe for ContractMeta<F>
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