Struct ethbind_json::Fallback
source · pub struct Fallback {
pub state_mutability: StateMutability,
}
Expand description
A structure type to represent fallback function
abi
Fields§
§state_mutability: StateMutability
a string with one of the following values: pure (specified to not read blockchain state), view (specified to not modify the blockchain state), nonpayable (function does not accept Ether - the default) and payable (function accepts Ether)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Fallback
impl<'de> Deserialize<'de> for Fallback
source§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