Struct sewup::primitives::EwasmAny [−][src]
Expand description
helps you return different type of date in the contract handlers
The any serializable data can easy to become EwasmAny by following command
EwasmAny::from(instance)
and the data will preserialized and store in the EwasmAny structure,
once the ewasm_main
function try to return the instance of EwasmAny, the preserialized data
will be returned.
Fields
bin: Vec<u8>
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more