Enum ethers_solc::artifacts::BytecodeHash
source · [−]pub enum BytecodeHash {
Ipfs,
None,
Bzzr1,
}Expand description
Determines the hash method for the metadata hash that is appended to the bytecode.
Solc’s default is Ipfs, see https://docs.soliditylang.org/en/latest/using-the-compiler.html#compiler-api.
Variants
Ipfs
None
Bzzr1
Trait Implementations
sourceimpl Clone for BytecodeHash
impl Clone for BytecodeHash
sourcefn clone(&self) -> BytecodeHash
fn clone(&self) -> BytecodeHash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BytecodeHash
impl Debug for BytecodeHash
sourceimpl Default for BytecodeHash
impl Default for BytecodeHash
sourceimpl<'de> Deserialize<'de> for BytecodeHash
impl<'de> Deserialize<'de> for BytecodeHash
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 BytecodeHash
impl Display for BytecodeHash
sourceimpl From<BytecodeHash> for SettingsMetadata
impl From<BytecodeHash> for SettingsMetadata
sourcefn from(hash: BytecodeHash) -> Self
fn from(hash: BytecodeHash) -> Self
Converts to this type from the input type.
sourceimpl FromStr for BytecodeHash
impl FromStr for BytecodeHash
sourceimpl PartialEq<BytecodeHash> for BytecodeHash
impl PartialEq<BytecodeHash> for BytecodeHash
sourceimpl Serialize for BytecodeHash
impl Serialize for BytecodeHash
impl Copy for BytecodeHash
impl Eq for BytecodeHash
impl StructuralEq for BytecodeHash
impl StructuralPartialEq for BytecodeHash
Auto Trait Implementations
impl RefUnwindSafe for BytecodeHash
impl Send for BytecodeHash
impl Sync for BytecodeHash
impl Unpin for BytecodeHash
impl UnwindSafe for BytecodeHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more