pub enum ContractFilter {
All,
Select(SelectContracts),
Exclude(ExcludeContracts),
}
Expand description
Used to filter contracts that should be included in the abigen generation.
Variants§
All
Include all contracts
Select(SelectContracts)
Only include contracts that match the filter
Exclude(ExcludeContracts)
Only include contracts that don’t match the filter
Implementations§
Trait Implementations§
source§impl Clone for ContractFilter
impl Clone for ContractFilter
source§fn clone(&self) -> ContractFilter
fn clone(&self) -> ContractFilter
Returns a copy 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 ContractFilter
impl Debug for ContractFilter
source§impl Default for ContractFilter
impl Default for ContractFilter
source§impl From<ExcludeContracts> for ContractFilter
impl From<ExcludeContracts> for ContractFilter
source§fn from(f: ExcludeContracts) -> Self
fn from(f: ExcludeContracts) -> Self
Converts to this type from the input type.
source§impl From<SelectContracts> for ContractFilter
impl From<SelectContracts> for ContractFilter
source§fn from(f: SelectContracts) -> Self
fn from(f: SelectContracts) -> Self
Converts to this type from the input type.