Struct ethers_solc::artifacts::ast::TryStatement
source · pub struct TryStatement {
pub id: usize,
pub src: SourceLocation,
pub documentation: Option<String>,
pub clauses: Vec<TryCatchClause>,
pub external_call: FunctionCall,
}
Expand description
A try/catch statement.
Fields§
§id: usize
§src: SourceLocation
§documentation: Option<String>
§clauses: Vec<TryCatchClause>
§external_call: FunctionCall
Trait Implementations§
source§impl Clone for TryStatement
impl Clone for TryStatement
source§fn clone(&self) -> TryStatement
fn clone(&self) -> TryStatement
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 TryStatement
impl Debug for TryStatement
source§impl<'de> Deserialize<'de> for TryStatement
impl<'de> Deserialize<'de> for TryStatement
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 TryStatement
impl PartialEq for TryStatement
source§fn eq(&self, other: &TryStatement) -> bool
fn eq(&self, other: &TryStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TryStatement
impl Serialize for TryStatement
impl Eq for TryStatement
impl StructuralPartialEq for TryStatement
Auto Trait Implementations§
impl RefUnwindSafe for TryStatement
impl Send for TryStatement
impl Sync for TryStatement
impl Unpin for TryStatement
impl UnwindSafe for TryStatement
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.