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