Enum contract_metadata::Compiler
source · pub enum Compiler {
RustC,
Solang,
}Expand description
Compilers used to compile a smart contract.
Variants
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Compiler
impl<'de> Deserialize<'de> for Compiler
sourcefn 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
sourceimpl Display for Compiler
impl Display for Compiler
sourcefn fmt(&self, f: &mut Formatter<'_>) -> DisplayResult
fn fmt(&self, f: &mut Formatter<'_>) -> DisplayResult
Formats the value using the given formatter. Read more
Auto Trait Implementations
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnwindSafe for Compiler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more