Struct sway_types::JsonABIFunction
source · [−]pub struct JsonABIFunction {
pub inputs: Vec<JsonTypeApplication>,
pub name: String,
pub output: JsonTypeApplication,
}
Fields
inputs: Vec<JsonTypeApplication>
name: String
output: JsonTypeApplication
Trait Implementations
sourceimpl Clone for JsonABIFunction
impl Clone for JsonABIFunction
sourcefn clone(&self) -> JsonABIFunction
fn clone(&self) -> JsonABIFunction
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 JsonABIFunction
impl Debug for JsonABIFunction
sourceimpl Default for JsonABIFunction
impl Default for JsonABIFunction
sourcefn default() -> JsonABIFunction
fn default() -> JsonABIFunction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JsonABIFunction
impl<'de> Deserialize<'de> for JsonABIFunction
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<JsonABIFunction> for JsonABIFunction
impl PartialEq<JsonABIFunction> for JsonABIFunction
sourcefn eq(&self, other: &JsonABIFunction) -> bool
fn eq(&self, other: &JsonABIFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for JsonABIFunction
impl Serialize for JsonABIFunction
impl Eq for JsonABIFunction
impl StructuralEq for JsonABIFunction
impl StructuralPartialEq for JsonABIFunction
Auto Trait Implementations
impl RefUnwindSafe for JsonABIFunction
impl Send for JsonABIFunction
impl Sync for JsonABIFunction
impl Unpin for JsonABIFunction
impl UnwindSafe for JsonABIFunction
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