Struct sway_types::JsonABIProgram
source · [−]pub struct JsonABIProgram {
pub types: Vec<JsonTypeDeclaration>,
pub functions: Vec<JsonABIFunction>,
}
Expand description
Alternative Fuel ABI representation in JSON where the type declarations have associated IDs to help associate type components, type arguments, and type parameters with other types.
Fields
types: Vec<JsonTypeDeclaration>
functions: Vec<JsonABIFunction>
Trait Implementations
sourceimpl Clone for JsonABIProgram
impl Clone for JsonABIProgram
sourcefn clone(&self) -> JsonABIProgram
fn clone(&self) -> JsonABIProgram
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 more
sourceimpl Debug for JsonABIProgram
impl Debug for JsonABIProgram
sourceimpl Default for JsonABIProgram
impl Default for JsonABIProgram
sourcefn default() -> JsonABIProgram
fn default() -> JsonABIProgram
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JsonABIProgram
impl<'de> Deserialize<'de> for JsonABIProgram
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<JsonABIProgram> for JsonABIProgram
impl PartialEq<JsonABIProgram> for JsonABIProgram
sourcefn eq(&self, other: &JsonABIProgram) -> bool
fn eq(&self, other: &JsonABIProgram) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for JsonABIProgram
impl Serialize for JsonABIProgram
impl Eq for JsonABIProgram
impl StructuralEq for JsonABIProgram
impl StructuralPartialEq for JsonABIProgram
Auto Trait Implementations
impl RefUnwindSafe for JsonABIProgram
impl Send for JsonABIProgram
impl Sync for JsonABIProgram
impl Unpin for JsonABIProgram
impl UnwindSafe for JsonABIProgram
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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