pub struct CheckFailure {
pub kind: CheckFailureKind,
pub human: Vec<u8>,
pub json: Vec<u8>,
}Fields§
§kind: CheckFailureKind§human: Vec<u8>§json: Vec<u8>Trait Implementations§
Source§impl Clone for CheckFailure
impl Clone for CheckFailure
Source§fn clone(&self) -> CheckFailure
fn clone(&self) -> CheckFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContractType for CheckFailure
impl ContractType for CheckFailure
fn encode_value(&self) -> Result<ContractValue, EncodeError>
fn decode_value(value: &ContractValue) -> Result<Self, DecodeError>
fn encode(&self) -> Result<SlotValue, EncodeError>
fn decode(slot: &SlotValue) -> Result<Self, DecodeError>
fn encode_field(&self) -> Result<Option<ContractValue>, EncodeError>
fn decode_field(field: Option<&ContractValue>) -> Result<Self, DecodeError>
Source§impl Debug for CheckFailure
impl Debug for CheckFailure
Source§impl Default for CheckFailure
impl Default for CheckFailure
Source§fn default() -> CheckFailure
fn default() -> CheckFailure
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckFailure
impl PartialEq for CheckFailure
impl StructuralPartialEq for CheckFailure
Auto Trait Implementations§
impl Freeze for CheckFailure
impl RefUnwindSafe for CheckFailure
impl Send for CheckFailure
impl Sync for CheckFailure
impl Unpin for CheckFailure
impl UnsafeUnpin for CheckFailure
impl UnwindSafe for CheckFailure
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