Struct ethers_solc::project_util::mock::MockLib
source · pub struct MockLib {
pub name: String,
pub id: usize,
pub offset: usize,
pub num_files: usize,
}
Available on crate feature
project-util
only.Expand description
Container of a mock lib
Fields§
§name: String
name of the lib, like ds-test
id: usize
internal id of this lib
offset: usize
offset in the total set of files
num_files: usize
number of files included in this lib
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MockLib
impl<'de> Deserialize<'de> for MockLib
source§fn 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
Auto Trait Implementations§
impl RefUnwindSafe for MockLib
impl Send for MockLib
impl Sync for MockLib
impl Unpin for MockLib
impl UnwindSafe for MockLib
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