pub struct TokensV2VerificationCheckEligibilityResponse {
pub can_metadata: bool,
pub can_verify: bool,
pub is_verified: bool,
pub metadata_error: Option<String>,
pub token_exists: bool,
pub verification_error: Option<String>,
}Fields§
§can_metadata: boolWhether a metadata update can be submitted
can_verify: boolWhether a verification request can be submitted
is_verified: boolWhether the token is already verified
metadata_error: Option<String>Reason metadata update is not allowed (only present when there is a specific error)
token_exists: boolWhether the token exists on-chain
verification_error: Option<String>Reason verification is not allowed (only present when there is a specific error)
Trait Implementations§
Source§impl Clone for TokensV2VerificationCheckEligibilityResponse
impl Clone for TokensV2VerificationCheckEligibilityResponse
Source§fn clone(&self) -> TokensV2VerificationCheckEligibilityResponse
fn clone(&self) -> TokensV2VerificationCheckEligibilityResponse
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<'de> Deserialize<'de> for TokensV2VerificationCheckEligibilityResponse
impl<'de> Deserialize<'de> for TokensV2VerificationCheckEligibilityResponse
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 TokensV2VerificationCheckEligibilityResponse
impl RefUnwindSafe for TokensV2VerificationCheckEligibilityResponse
impl Send for TokensV2VerificationCheckEligibilityResponse
impl Sync for TokensV2VerificationCheckEligibilityResponse
impl Unpin for TokensV2VerificationCheckEligibilityResponse
impl UnsafeUnpin for TokensV2VerificationCheckEligibilityResponse
impl UnwindSafe for TokensV2VerificationCheckEligibilityResponse
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