pub struct ContractInitCheck {
pub success: bool,
pub error: String,
}Expand description
Contract init result.
Fields§
§success: boolIs the contract init successful?
error: StringContract error
Trait Implementations§
Source§impl Debug for ContractInitCheck
impl Debug for ContractInitCheck
Source§impl Default for ContractInitCheck
impl Default for ContractInitCheck
Source§fn default() -> ContractInitCheck
fn default() -> ContractInitCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractInitCheck
impl<'de> Deserialize<'de> for ContractInitCheck
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
Auto Trait Implementations§
impl Freeze for ContractInitCheck
impl RefUnwindSafe for ContractInitCheck
impl Send for ContractInitCheck
impl Sync for ContractInitCheck
impl Unpin for ContractInitCheck
impl UnwindSafe for ContractInitCheck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more