Struct fuel_abi_types::program_abi::TypeDeclaration
source · pub struct TypeDeclaration {
pub type_id: usize,
pub type_field: String,
pub components: Option<Vec<TypeApplication>>,
pub type_parameters: Option<Vec<usize>>,
}
Fields§
§type_id: usize
§type_field: String
§components: Option<Vec<TypeApplication>>
§type_parameters: Option<Vec<usize>>
Trait Implementations§
source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
source§fn clone(&self) -> TypeDeclaration
fn clone(&self) -> TypeDeclaration
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 TypeDeclaration
impl Debug for TypeDeclaration
source§impl Default for TypeDeclaration
impl Default for TypeDeclaration
source§fn default() -> TypeDeclaration
fn default() -> TypeDeclaration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TypeDeclaration
impl<'de> Deserialize<'de> for TypeDeclaration
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<TypeDeclaration> for TypeDeclaration
impl PartialEq<TypeDeclaration> for TypeDeclaration
source§fn eq(&self, other: &TypeDeclaration) -> bool
fn eq(&self, other: &TypeDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.