Struct cosmwasm_std::Empty [−][src]
pub struct Empty {}Expand description
An empty struct that serves as a placeholder in different places, such as contracts that don’t set a custom message.
It is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)
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 Emptyimpl UnwindSafe for EmptyBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self