Struct fuel_abi_types::abi::program::TypeConcreteDeclaration
source · pub struct TypeConcreteDeclaration {
pub type_field: String,
pub concrete_type_id: ConcreteTypeId,
pub metadata_type_id: Option<MetadataTypeId>,
pub type_arguments: Option<Vec<ConcreteTypeId>>,
}
Fields§
§type_field: String
§concrete_type_id: ConcreteTypeId
§metadata_type_id: Option<MetadataTypeId>
§type_arguments: Option<Vec<ConcreteTypeId>>
Trait Implementations§
source§impl Clone for TypeConcreteDeclaration
impl Clone for TypeConcreteDeclaration
source§fn clone(&self) -> TypeConcreteDeclaration
fn clone(&self) -> TypeConcreteDeclaration
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 TypeConcreteDeclaration
impl Debug for TypeConcreteDeclaration
source§impl Default for TypeConcreteDeclaration
impl Default for TypeConcreteDeclaration
source§fn default() -> TypeConcreteDeclaration
fn default() -> TypeConcreteDeclaration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TypeConcreteDeclaration
impl<'de> Deserialize<'de> for TypeConcreteDeclaration
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 TypeConcreteDeclaration
impl PartialEq for TypeConcreteDeclaration
source§fn eq(&self, other: &TypeConcreteDeclaration) -> bool
fn eq(&self, other: &TypeConcreteDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TypeConcreteDeclaration
impl Serialize for TypeConcreteDeclaration
impl Eq for TypeConcreteDeclaration
impl StructuralPartialEq for TypeConcreteDeclaration
Auto Trait Implementations§
impl Freeze for TypeConcreteDeclaration
impl RefUnwindSafe for TypeConcreteDeclaration
impl Send for TypeConcreteDeclaration
impl Sync for TypeConcreteDeclaration
impl Unpin for TypeConcreteDeclaration
impl UnwindSafe for TypeConcreteDeclaration
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more