pub struct File {
pub per_file: Option<HashSet<Flag>>,
pub per_contract: Option<HashSet<Flag>>,
}
Expand description
The solc --standard-json
output file selection.
Fields§
§per_file: Option<HashSet<Flag>>
The per-file output selections.
per_contract: Option<HashSet<Flag>>
The per-contract output selections.
Implementations§
Source§impl File
impl File
Sourcepub fn new_required() -> Self
pub fn new_required() -> Self
Creates the selection required for production compilation (excludes EVM bytecode).
Sourcepub fn new_required_for_tests() -> Self
pub fn new_required_for_tests() -> Self
Creates the selection required for test compilation (includes EVM bytecode).
Sourcepub fn extend_with_required(&mut self) -> &mut Self
pub fn extend_with_required(&mut self) -> &mut Self
Extends the user’s output selection with flag required by our compilation process.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
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
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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