pub enum DeployedClass {
SierraClass(FlattenedSierraClass),
LegacyClass(LegacyContractClass),
}Variants§
SierraClass(FlattenedSierraClass)
LegacyClass(LegacyContractClass)
Trait Implementations§
Source§impl Debug for DeployedClass
impl Debug for DeployedClass
Source§impl<'de> Deserialize<'de> for DeployedClass
impl<'de> Deserialize<'de> for DeployedClass
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DeployedClass, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DeployedClass, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DeployedClass
impl Serialize for DeployedClass
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<DeployedClass> for ContractClass
impl TryFrom<DeployedClass> for ContractClass
Source§fn try_from(
value: DeployedClass,
) -> Result<ContractClass, <ContractClass as TryFrom<DeployedClass>>::Error>
fn try_from( value: DeployedClass, ) -> Result<ContractClass, <ContractClass as TryFrom<DeployedClass>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeployedClass
impl RefUnwindSafe for DeployedClass
impl Send for DeployedClass
impl Sync for DeployedClass
impl Unpin for DeployedClass
impl UnwindSafe for DeployedClass
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