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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
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 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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.