pub struct MetadataHash {
pub solc: Option<Version>,
}Expand description
Parsed metadata hash (https://docs.soliditylang.org/en/v0.8.14/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode).
Currently we are interested only in solc value.
Fields§
§solc: Option<Version>Implementations§
Trait Implementations§
Source§impl Clone for MetadataHash
impl Clone for MetadataHash
Source§fn clone(&self) -> MetadataHash
fn clone(&self) -> MetadataHash
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetadataHash
impl Debug for MetadataHash
Source§impl Default for MetadataHash
impl Default for MetadataHash
Source§fn default() -> MetadataHash
fn default() -> MetadataHash
Returns the “default value” for a type. Read more
Source§impl Hash for MetadataHash
impl Hash for MetadataHash
Source§impl PartialEq for MetadataHash
impl PartialEq for MetadataHash
impl Eq for MetadataHash
impl StructuralPartialEq for MetadataHash
Auto Trait Implementations§
impl Freeze for MetadataHash
impl RefUnwindSafe for MetadataHash
impl Send for MetadataHash
impl Sync for MetadataHash
impl Unpin for MetadataHash
impl UnwindSafe for MetadataHash
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