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