Enum ethers_core::types::ValueOrArray  [−][src]
pub enum ValueOrArray<T> {
    Value(T),
    Array(Vec<T>),
}Expand description
Union type for representing a single value or a vector of values inside a filter
Variants
A single value
Array(Vec<T>)A vector of values
Tuple Fields of Array
0: Vec<T>Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<T> RefUnwindSafe for ValueOrArray<T> where
    T: RefUnwindSafe, 
impl<T> Send for ValueOrArray<T> where
    T: Send, 
impl<T> Sync for ValueOrArray<T> where
    T: Sync, 
impl<T> Unpin for ValueOrArray<T> where
    T: Unpin, 
impl<T> UnwindSafe for ValueOrArray<T> where
    T: UnwindSafe, 
Blanket Implementations
Mutably borrows from an owned value. Read more