Struct sway_types::Function
source · [−]pub struct Function {
pub type_field: String,
pub inputs: Vec<Property>,
pub name: String,
pub outputs: Vec<Property>,
}
Fields
type_field: String
inputs: Vec<Property>
name: String
outputs: Vec<Property>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Function
impl UnwindSafe for Function
Blanket Implementations
Mutably borrows from an owned value. Read more