pub struct PerFileSelection {
pub files: BTreeMap<String, File>,
}
Expand description
The solc --standard-json
per-file output selection.
Fields§
§files: BTreeMap<String, File>
Individual file selection configuration, required for foundry.
Implementations§
Source§impl PerFileSelection
impl PerFileSelection
Sourcepub fn selection_to_prune(&self) -> Self
pub fn selection_to_prune(&self) -> Self
Returns flags that are going to be automatically added by the compiler, but were not explicitly requested by the user.
Afterwards, the flags are used to prune JSON output before returning it.
Trait Implementations§
Source§impl Clone for PerFileSelection
impl Clone for PerFileSelection
Source§fn clone(&self) -> PerFileSelection
fn clone(&self) -> PerFileSelection
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 PerFileSelection
impl Debug for PerFileSelection
Source§impl Default for PerFileSelection
impl Default for PerFileSelection
Source§fn default() -> PerFileSelection
fn default() -> PerFileSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerFileSelection
impl<'de> Deserialize<'de> for PerFileSelection
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
Source§impl PartialEq for PerFileSelection
impl PartialEq for PerFileSelection
Source§impl Serialize for PerFileSelection
impl Serialize for PerFileSelection
impl StructuralPartialEq for PerFileSelection
Auto Trait Implementations§
impl Freeze for PerFileSelection
impl RefUnwindSafe for PerFileSelection
impl Send for PerFileSelection
impl Sync for PerFileSelection
impl Unpin for PerFileSelection
impl UnwindSafe for PerFileSelection
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