Enum offchain::types::KycDataObjectVersion
source · #[repr(u8)]
pub enum KycDataObjectVersion {
V1,
}
Variants§
V1
Trait Implementations§
source§impl Clone for KycDataObjectVersion
impl Clone for KycDataObjectVersion
source§fn clone(&self) -> KycDataObjectVersion
fn clone(&self) -> KycDataObjectVersion
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 moresource§impl Debug for KycDataObjectVersion
impl Debug for KycDataObjectVersion
source§impl<'de> Deserialize<'de> for KycDataObjectVersion
impl<'de> Deserialize<'de> for KycDataObjectVersion
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<KycDataObjectVersion> for KycDataObjectVersion
impl PartialEq<KycDataObjectVersion> for KycDataObjectVersion
source§fn eq(&self, other: &KycDataObjectVersion) -> bool
fn eq(&self, other: &KycDataObjectVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KycDataObjectVersion
impl Serialize for KycDataObjectVersion
impl Copy for KycDataObjectVersion
impl Eq for KycDataObjectVersion
impl StructuralEq for KycDataObjectVersion
impl StructuralPartialEq for KycDataObjectVersion
Auto Trait Implementations§
impl RefUnwindSafe for KycDataObjectVersion
impl Send for KycDataObjectVersion
impl Sync for KycDataObjectVersion
impl Unpin for KycDataObjectVersion
impl UnwindSafe for KycDataObjectVersion
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.