Struct noah_api::xfr::structs::TracingPolicy
source · pub struct TracingPolicy {
pub enc_keys: AssetTracerEncKeys,
pub asset_tracing: bool,
pub identity_tracing: Option<IdentityRevealPolicy>,
}Expand description
An asset and identity tracing policy for an asset.
Fields§
§enc_keys: AssetTracerEncKeysThe asset tracer encryption keys.
asset_tracing: boolWhether the asset tracing is on.
identity_tracing: Option<IdentityRevealPolicy>The identity revealing policy.
Trait Implementations§
source§impl Clone for TracingPolicy
impl Clone for TracingPolicy
source§fn clone(&self) -> TracingPolicy
fn clone(&self) -> TracingPolicy
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 TracingPolicy
impl Debug for TracingPolicy
source§impl<'de> Deserialize<'de> for TracingPolicy
impl<'de> Deserialize<'de> for TracingPolicy
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<TracingPolicy> for TracingPolicy
impl PartialEq<TracingPolicy> for TracingPolicy
source§fn eq(&self, other: &TracingPolicy) -> bool
fn eq(&self, other: &TracingPolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TracingPolicy
impl Serialize for TracingPolicy
impl Eq for TracingPolicy
impl StructuralEq for TracingPolicy
impl StructuralPartialEq for TracingPolicy
Auto Trait Implementations§
impl RefUnwindSafe for TracingPolicy
impl Send for TracingPolicy
impl Sync for TracingPolicy
impl Unpin for TracingPolicy
impl UnwindSafe for TracingPolicy
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