Struct fuels_types::ProgramABI
source · pub struct ProgramABI {
pub types: Vec<TypeDeclaration>,
pub functions: Vec<ABIFunction>,
pub logged_types: Option<Vec<LoggedType>>,
pub messages_types: Option<Vec<MessageType>>,
}
Expand description
FuelVM ABI representation in JSON, originally specified here.
This type may be used by compilers and related tooling to convert an ABI representation into native Rust structs and vice-versa.
Fields§
§types: Vec<TypeDeclaration>
§functions: Vec<ABIFunction>
§logged_types: Option<Vec<LoggedType>>
§messages_types: Option<Vec<MessageType>>
Trait Implementations§
source§impl Clone for ProgramABI
impl Clone for ProgramABI
source§fn clone(&self) -> ProgramABI
fn clone(&self) -> ProgramABI
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 ProgramABI
impl Debug for ProgramABI
source§impl Default for ProgramABI
impl Default for ProgramABI
source§fn default() -> ProgramABI
fn default() -> ProgramABI
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProgramABI
impl<'de> Deserialize<'de> for ProgramABI
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<ProgramABI> for ProgramABI
impl PartialEq<ProgramABI> for ProgramABI
source§fn eq(&self, other: &ProgramABI) -> bool
fn eq(&self, other: &ProgramABI) -> bool
source§impl Serialize for ProgramABI
impl Serialize for ProgramABI
impl Eq for ProgramABI
impl StructuralEq for ProgramABI
impl StructuralPartialEq for ProgramABI
Auto Trait Implementations§
impl RefUnwindSafe for ProgramABI
impl Send for ProgramABI
impl Sync for ProgramABI
impl Unpin for ProgramABI
impl UnwindSafe for ProgramABI
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.