Struct ethers_solc::artifacts::ast::ElementaryTypeName
source · pub struct ElementaryTypeName {
pub id: usize,
pub src: SourceLocation,
pub type_descriptions: TypeDescriptions,
pub name: String,
pub state_mutability: Option<StateMutability>,
}
Fields§
§id: usize
§src: SourceLocation
§type_descriptions: TypeDescriptions
§name: String
§state_mutability: Option<StateMutability>
Trait Implementations§
source§impl Clone for ElementaryTypeName
impl Clone for ElementaryTypeName
source§fn clone(&self) -> ElementaryTypeName
fn clone(&self) -> ElementaryTypeName
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 ElementaryTypeName
impl Debug for ElementaryTypeName
source§impl<'de> Deserialize<'de> for ElementaryTypeName
impl<'de> Deserialize<'de> for ElementaryTypeName
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 ElementaryTypeName
impl PartialEq for ElementaryTypeName
source§fn eq(&self, other: &ElementaryTypeName) -> bool
fn eq(&self, other: &ElementaryTypeName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ElementaryTypeName
impl Serialize for ElementaryTypeName
impl Eq for ElementaryTypeName
impl StructuralPartialEq for ElementaryTypeName
Auto Trait Implementations§
impl RefUnwindSafe for ElementaryTypeName
impl Send for ElementaryTypeName
impl Sync for ElementaryTypeName
impl Unpin for ElementaryTypeName
impl UnwindSafe for ElementaryTypeName
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.