pub enum ReceiptValidationError {
InvalidPredecessorId {
account_id: String,
},
InvalidReceiverId {
account_id: String,
},
InvalidSignerId {
account_id: String,
},
InvalidDataReceiverId {
account_id: String,
},
ReturnedValueLengthExceeded {
length: u64,
limit: u64,
},
NumberInputDataDependenciesExceeded {
limit: u64,
number_of_input_data_dependencies: u64,
},
ActionsValidation(ActionsValidationError),
ReceiptSizeExceeded {
limit: u64,
size: u64,
},
InvalidRefundTo {
account_id: String,
},
}Expand description
Error validating a receipt.
Variants§
InvalidPredecessorId
InvalidReceiverId
InvalidSignerId
InvalidDataReceiverId
ReturnedValueLengthExceeded
NumberInputDataDependenciesExceeded
ActionsValidation(ActionsValidationError)
ReceiptSizeExceeded
InvalidRefundTo
Trait Implementations§
Source§impl Clone for ReceiptValidationError
impl Clone for ReceiptValidationError
Source§fn clone(&self) -> ReceiptValidationError
fn clone(&self) -> ReceiptValidationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReceiptValidationError
impl Debug for ReceiptValidationError
Source§impl<'de> Deserialize<'de> for ReceiptValidationError
impl<'de> Deserialize<'de> for ReceiptValidationError
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 ReceiptValidationError
impl RefUnwindSafe for ReceiptValidationError
impl Send for ReceiptValidationError
impl Sync for ReceiptValidationError
impl Unpin for ReceiptValidationError
impl UnsafeUnpin for ReceiptValidationError
impl UnwindSafe for ReceiptValidationError
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