Enum reputation_module::icrc_7::errors::ApprovalError
source · pub enum ApprovalError {
Unauthorized {
tokens_ids: Vec<u128>,
},
TooOld,
TemporaryUnavailable,
NonExistingTokenId,
InvalidSpender,
GenericError {
error_code: u128,
message: String,
},
GenericBatchError {
error_code: u128,
message: String,
},
}
Variants§
Trait Implementations§
source§impl CandidType for ApprovalError
impl CandidType for ApprovalError
source§impl Clone for ApprovalError
impl Clone for ApprovalError
source§fn clone(&self) -> ApprovalError
fn clone(&self) -> ApprovalError
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ApprovalError
impl Send for ApprovalError
impl Sync for ApprovalError
impl Unpin for ApprovalError
impl UnwindSafe for ApprovalError
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