Struct ethers_solc::artifacts::ast::FunctionCallOptions
source · pub struct FunctionCallOptions {
pub id: usize,
pub src: SourceLocation,
pub argument_types: Vec<TypeDescriptions>,
pub is_constant: bool,
pub is_l_value: bool,
pub is_pure: bool,
pub l_value_requested: bool,
pub type_descriptions: TypeDescriptions,
pub expression: Expression,
pub names: Vec<String>,
pub options: Vec<Expression>,
}
Expand description
A function call options expression (e.g. x.f{gas: 1}
).
Fields§
§id: usize
§src: SourceLocation
§argument_types: Vec<TypeDescriptions>
§is_constant: bool
§is_l_value: bool
§is_pure: bool
§l_value_requested: bool
§type_descriptions: TypeDescriptions
§expression: Expression
§names: Vec<String>
§options: Vec<Expression>
Trait Implementations§
source§impl Clone for FunctionCallOptions
impl Clone for FunctionCallOptions
source§fn clone(&self) -> FunctionCallOptions
fn clone(&self) -> FunctionCallOptions
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 FunctionCallOptions
impl Debug for FunctionCallOptions
source§impl<'de> Deserialize<'de> for FunctionCallOptions
impl<'de> Deserialize<'de> for FunctionCallOptions
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 FunctionCallOptions
impl PartialEq for FunctionCallOptions
source§fn eq(&self, other: &FunctionCallOptions) -> bool
fn eq(&self, other: &FunctionCallOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FunctionCallOptions
impl Serialize for FunctionCallOptions
impl Eq for FunctionCallOptions
impl StructuralPartialEq for FunctionCallOptions
Auto Trait Implementations§
impl RefUnwindSafe for FunctionCallOptions
impl Send for FunctionCallOptions
impl Sync for FunctionCallOptions
impl Unpin for FunctionCallOptions
impl UnwindSafe for FunctionCallOptions
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.