pub enum ApproveCollectionError {
InvalidSpender,
TooOld,
CreatedInFuture {
ledger_time: u64,
},
GenericError {
error_code: u128,
message: String,
},
Duplicate {
duplicate_of: u128,
},
GenericBatchError {
error_code: u128,
message: String,
},
}Variants§
Trait Implementations§
Source§impl CandidType for ApproveCollectionError
impl CandidType for ApproveCollectionError
Source§impl Clone for ApproveCollectionError
impl Clone for ApproveCollectionError
Source§impl Debug for ApproveCollectionError
impl Debug for ApproveCollectionError
Source§impl<'de> Deserialize<'de> for ApproveCollectionError
impl<'de> Deserialize<'de> for ApproveCollectionError
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
Source§impl PartialEq for ApproveCollectionError
impl PartialEq for ApproveCollectionError
impl StructuralPartialEq for ApproveCollectionError
Auto Trait Implementations§
impl Freeze for ApproveCollectionError
impl RefUnwindSafe for ApproveCollectionError
impl Send for ApproveCollectionError
impl Sync for ApproveCollectionError
impl Unpin for ApproveCollectionError
impl UnsafeUnpin for ApproveCollectionError
impl UnwindSafe for ApproveCollectionError
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