Struct concordium_base::id::types::CredentialDeploymentInfo
source · pub struct CredentialDeploymentInfo<P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar>> {
pub values: CredentialDeploymentValues<C, AttributeType>,
pub proofs: CredDeploymentProofs<P, C>,
}
Expand description
A credential with attributes, public keys, and proofs that it is well-formed.
Fields§
§values: CredentialDeploymentValues<C, AttributeType>
§proofs: CredDeploymentProofs<P, C>
Trait Implementations§
source§impl<P: Clone + Pairing, C: Clone + Curve<Scalar = P::ScalarField>, AttributeType: Clone + Attribute<C::Scalar>> Clone for CredentialDeploymentInfo<P, C, AttributeType>
impl<P: Clone + Pairing, C: Clone + Curve<Scalar = P::ScalarField>, AttributeType: Clone + Attribute<C::Scalar>> Clone for CredentialDeploymentInfo<P, C, AttributeType>
source§fn clone(&self) -> CredentialDeploymentInfo<P, C, AttributeType>
fn clone(&self) -> CredentialDeploymentInfo<P, C, AttributeType>
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<P: Debug + Pairing, C: Debug + Curve<Scalar = P::ScalarField>, AttributeType: Debug + Attribute<C::Scalar>> Debug for CredentialDeploymentInfo<P, C, AttributeType>
impl<P: Debug + Pairing, C: Debug + Curve<Scalar = P::ScalarField>, AttributeType: Debug + Attribute<C::Scalar>> Debug for CredentialDeploymentInfo<P, C, AttributeType>
source§impl<P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar>> Deserial for CredentialDeploymentInfo<P, C, AttributeType>
impl<P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar>> Deserial for CredentialDeploymentInfo<P, C, AttributeType>
fn deserial<GenericReaderType: ReadBytesExt>( source: &mut GenericReaderType ) -> ParseResult<Self>
source§impl<'de, P, C, AttributeType> Deserialize<'de> for CredentialDeploymentInfo<P, C, AttributeType>where
P: Pairing,
C: Curve<Scalar = P::ScalarField>,
AttributeType: Attribute<C::Scalar> + SerdeDeserialize<'de>,
impl<'de, P, C, AttributeType> Deserialize<'de> for CredentialDeploymentInfo<P, C, AttributeType>where P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar> + SerdeDeserialize<'de>,
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<P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar>> Serial for CredentialDeploymentInfo<P, C, AttributeType>
impl<P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar>> Serial for CredentialDeploymentInfo<P, C, AttributeType>
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
source§impl<P, C, AttributeType> Serialize for CredentialDeploymentInfo<P, C, AttributeType>where
P: Pairing,
C: Curve<Scalar = P::ScalarField>,
AttributeType: Attribute<C::Scalar> + SerdeSerialize,
impl<P, C, AttributeType> Serialize for CredentialDeploymentInfo<P, C, AttributeType>where P: Pairing, C: Curve<Scalar = P::ScalarField>, AttributeType: Attribute<C::Scalar> + SerdeSerialize,
Auto Trait Implementations§
impl<P, C, AttributeType> RefUnwindSafe for CredentialDeploymentInfo<P, C, AttributeType>where AttributeType: RefUnwindSafe, C: RefUnwindSafe, <P as Pairing>::G1: RefUnwindSafe, <P as Pairing>::ScalarField: RefUnwindSafe,
impl<P, C, AttributeType> Send for CredentialDeploymentInfo<P, C, AttributeType>
impl<P, C, AttributeType> Sync for CredentialDeploymentInfo<P, C, AttributeType>
impl<P, C, AttributeType> Unpin for CredentialDeploymentInfo<P, C, AttributeType>where C: Unpin, <P as Pairing>::G1: Unpin, <P as Pairing>::ScalarField: Unpin,
impl<P, C, AttributeType> UnwindSafe for CredentialDeploymentInfo<P, C, AttributeType>where AttributeType: RefUnwindSafe, C: UnwindSafe + RefUnwindSafe, <P as Pairing>::G1: UnwindSafe, <P as Pairing>::ScalarField: UnwindSafe + RefUnwindSafe,
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