Struct fuels_types::ProgramABI
source · [−]pub struct ProgramABI {
pub types: Vec<TypeDeclaration>,
pub functions: Vec<ABIFunction>,
pub logged_types: Option<Vec<LoggedType>>,
}
Expand description
FuelVM ABI representation in JSON, originally specified here:
https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/abi.md
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>>
Trait Implementations
sourceimpl Clone for ProgramABI
impl Clone for ProgramABI
sourcefn clone(&self) -> ProgramABI
fn clone(&self) -> ProgramABI
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProgramABI
impl Debug for ProgramABI
sourceimpl Default for ProgramABI
impl Default for ProgramABI
sourcefn default() -> ProgramABI
fn default() -> ProgramABI
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProgramABI
impl<'de> Deserialize<'de> for ProgramABI
sourcefn 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
sourceimpl PartialEq<ProgramABI> for ProgramABI
impl PartialEq<ProgramABI> for ProgramABI
sourcefn eq(&self, other: &ProgramABI) -> bool
fn eq(&self, other: &ProgramABI) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more