Struct noah_api::xfr::structs::IdentityRevealPolicy
source · pub struct IdentityRevealPolicy {
pub cred_issuer_pub_key: ACIssuerPublicKey,
pub reveal_map: Vec<bool>,
}Expand description
An identity reveal policy.
Fields§
§cred_issuer_pub_key: ACIssuerPublicKeyThe public key of the credential issuer.
reveal_map: Vec<bool>The attribute revealing map.
Trait Implementations§
source§impl Clone for IdentityRevealPolicy
impl Clone for IdentityRevealPolicy
source§fn clone(&self) -> IdentityRevealPolicy
fn clone(&self) -> IdentityRevealPolicy
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 IdentityRevealPolicy
impl Debug for IdentityRevealPolicy
source§impl<'de> Deserialize<'de> for IdentityRevealPolicy
impl<'de> Deserialize<'de> for IdentityRevealPolicy
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<IdentityRevealPolicy> for IdentityRevealPolicy
impl PartialEq<IdentityRevealPolicy> for IdentityRevealPolicy
source§fn eq(&self, other: &IdentityRevealPolicy) -> bool
fn eq(&self, other: &IdentityRevealPolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IdentityRevealPolicy
impl Serialize for IdentityRevealPolicy
impl Eq for IdentityRevealPolicy
impl StructuralEq for IdentityRevealPolicy
impl StructuralPartialEq for IdentityRevealPolicy
Auto Trait Implementations§
impl RefUnwindSafe for IdentityRevealPolicy
impl Send for IdentityRevealPolicy
impl Sync for IdentityRevealPolicy
impl Unpin for IdentityRevealPolicy
impl UnwindSafe for IdentityRevealPolicy
Blanket Implementations§
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more