Struct ethers_solc::artifacts::bytecode::CompactDeployedBytecode
source · [−]pub struct CompactDeployedBytecode {
pub bytecode: Option<CompactBytecode>,
pub immutable_references: BTreeMap<String, Vec<Offsets>>,
}Fields
bytecode: Option<CompactBytecode>immutable_references: BTreeMap<String, Vec<Offsets>>Implementations
sourceimpl CompactDeployedBytecode
impl CompactDeployedBytecode
sourcepub fn empty() -> Self
pub fn empty() -> Self
Returns a new CompactDeployedBytecode object that contains nothing, as it’s the case for
interfaces and standalone solidity files that don’t contain any contract definitions
sourcepub fn source_map(&self) -> Option<Result<SourceMap, SyntaxError>>
pub fn source_map(&self) -> Option<Result<SourceMap, SyntaxError>>
Returns the parsed source map
See also https://docs.soliditylang.org/en/v0.8.10/internals/source_mappings.html
Trait Implementations
sourceimpl Clone for CompactDeployedBytecode
impl Clone for CompactDeployedBytecode
sourcefn clone(&self) -> CompactDeployedBytecode
fn clone(&self) -> CompactDeployedBytecode
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 CompactDeployedBytecode
impl Debug for CompactDeployedBytecode
sourceimpl<'de> Deserialize<'de> for CompactDeployedBytecode
impl<'de> Deserialize<'de> for CompactDeployedBytecode
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 From<CompactDeployedBytecode> for DeployedBytecode
impl From<CompactDeployedBytecode> for DeployedBytecode
sourcefn from(bcode: CompactDeployedBytecode) -> DeployedBytecode
fn from(bcode: CompactDeployedBytecode) -> DeployedBytecode
Converts to this type from the input type.
sourceimpl From<DeployedBytecode> for CompactDeployedBytecode
impl From<DeployedBytecode> for CompactDeployedBytecode
sourcefn from(bcode: DeployedBytecode) -> CompactDeployedBytecode
fn from(bcode: DeployedBytecode) -> CompactDeployedBytecode
Converts to this type from the input type.
sourceimpl PartialEq<CompactDeployedBytecode> for CompactDeployedBytecode
impl PartialEq<CompactDeployedBytecode> for CompactDeployedBytecode
sourcefn eq(&self, other: &CompactDeployedBytecode) -> bool
fn eq(&self, other: &CompactDeployedBytecode) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CompactDeployedBytecode) -> bool
fn ne(&self, other: &CompactDeployedBytecode) -> bool
This method tests for !=.
sourceimpl Serialize for CompactDeployedBytecode
impl Serialize for CompactDeployedBytecode
impl Eq for CompactDeployedBytecode
impl StructuralEq for CompactDeployedBytecode
impl StructuralPartialEq for CompactDeployedBytecode
Auto Trait Implementations
impl RefUnwindSafe for CompactDeployedBytecode
impl Send for CompactDeployedBytecode
impl Sync for CompactDeployedBytecode
impl Unpin for CompactDeployedBytecode
impl UnwindSafe for CompactDeployedBytecode
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