pub enum TokenQuality {
Good,
Bad {
reason: String,
},
}Expand description
Represents the quality of a token.
Good: Indicates that the token has successfully passed the analysis process.Bad: Indicates that the token has failed the analysis process. In this case, a detailed reason for the failure is provided.
Note: Transfer taxes do not impact the token’s quality.
Even if a token has transfer taxes, as long as it successfully passes the analysis,
it will still be marked as Good.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TokenQuality
impl Clone for TokenQuality
Source§fn clone(&self) -> TokenQuality
fn clone(&self) -> TokenQuality
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 TokenQuality
impl Debug for TokenQuality
Source§impl PartialEq for TokenQuality
impl PartialEq for TokenQuality
impl Eq for TokenQuality
impl StructuralPartialEq for TokenQuality
Auto Trait Implementations§
impl Freeze for TokenQuality
impl RefUnwindSafe for TokenQuality
impl Send for TokenQuality
impl Sync for TokenQuality
impl Unpin for TokenQuality
impl UnwindSafe for TokenQuality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.