pub struct ScopeClaimProofData {
pub scope_did: Scalar,
pub investor_did: Scalar,
pub investor_unique_id: Scalar,
}
Expand description
The data needed to generate a proof that a SCOPE ID matches a CDD ID
Fields§
§scope_did: Scalar
§investor_did: Scalar
§investor_unique_id: Scalar
Trait Implementations§
source§impl Clone for ScopeClaimProofData
impl Clone for ScopeClaimProofData
source§fn clone(&self) -> ScopeClaimProofData
fn clone(&self) -> ScopeClaimProofData
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 ScopeClaimProofData
impl Debug for ScopeClaimProofData
source§impl<'de> Deserialize<'de> for ScopeClaimProofData
impl<'de> Deserialize<'de> for ScopeClaimProofData
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 From<ScopeClaimProofData> for ProofKeyPair
impl From<ScopeClaimProofData> for ProofKeyPair
source§fn from(d: ScopeClaimProofData) -> Self
fn from(d: ScopeClaimProofData) -> Self
Create a key pair object for the investor from a claim data.
Input:
d
: the data required to prove that a SCOPE_ID matches a CDD_ID.
source§impl Serialize for ScopeClaimProofData
impl Serialize for ScopeClaimProofData
impl Copy for ScopeClaimProofData
Auto Trait Implementations§
impl RefUnwindSafe for ScopeClaimProofData
impl Send for ScopeClaimProofData
impl Sync for ScopeClaimProofData
impl Unpin for ScopeClaimProofData
impl UnwindSafe for ScopeClaimProofData
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.