Enum ockam_entity::IdentityResponse[][src]

pub enum IdentityResponse {
Show 32 variants CreateProfile(ProfileIdentifier), CreateAuthenticationProof(AuthenticationProof), GetPublicKey(PublicKey), GetProfilePublicKey(PublicKey), GetProfileSecretKey(Secret), GetSecretKey(Secret), GetChanges(Changes), Contacts(Vec<Contact>), GetContact(MaybeContact), VerifyAuthenticationProof(bool), VerifyContact(bool), VerifyAndUpdateContact(bool), VerifyChanges(bool), VerifyAndAddContact(bool), CreateSecureChannelListener, CreateSecureChannel(Address), GetSigningKey(BlsSecretKey), GetIssuerPublicKey(CredentialPublicKey), CreateOffer(CredentialOffer), CreateProofOfPossession(CredentialProof), SignCredential(BbsCredential), SignCredentialRequest(CredentialFragment2), AcceptCredentialOffer(CredentialRequestFragment), CombineCredentialFragments(BbsCredential), IsValidCredential(bool), PresentCredential(CredentialPresentation), CreateProofRequestId(ProofRequestId), VerifyProofOfPossession(bool), VerifyCredentialPresentation(bool), AddCredential, GetCredential(EntityCredential), Lease(Lease),
}

Variants

CreateProfile(ProfileIdentifier)

Tuple Fields of CreateProfile

0: ProfileIdentifier
CreateAuthenticationProof(AuthenticationProof)

Tuple Fields of CreateAuthenticationProof

0: AuthenticationProof
GetPublicKey(PublicKey)

Tuple Fields of GetPublicKey

0: PublicKey
GetProfilePublicKey(PublicKey)

Tuple Fields of GetProfilePublicKey

0: PublicKey
GetProfileSecretKey(Secret)

Tuple Fields of GetProfileSecretKey

0: Secret
GetSecretKey(Secret)

Tuple Fields of GetSecretKey

0: Secret
GetChanges(Changes)

Tuple Fields of GetChanges

0: Changes
Contacts(Vec<Contact>)

Tuple Fields of Contacts

0: Vec<Contact>
GetContact(MaybeContact)

Tuple Fields of GetContact

0: MaybeContact
VerifyAuthenticationProof(bool)

Tuple Fields of VerifyAuthenticationProof

0: bool
VerifyContact(bool)

Tuple Fields of VerifyContact

0: bool
VerifyAndUpdateContact(bool)

Tuple Fields of VerifyAndUpdateContact

0: bool
VerifyChanges(bool)

Tuple Fields of VerifyChanges

0: bool
VerifyAndAddContact(bool)

Tuple Fields of VerifyAndAddContact

0: bool
CreateSecureChannelListener
CreateSecureChannel(Address)

Tuple Fields of CreateSecureChannel

0: Address
GetSigningKey(BlsSecretKey)

Tuple Fields of GetSigningKey

0: BlsSecretKey
GetIssuerPublicKey(CredentialPublicKey)

Tuple Fields of GetIssuerPublicKey

0: CredentialPublicKey
CreateOffer(CredentialOffer)

Tuple Fields of CreateOffer

0: CredentialOffer
CreateProofOfPossession(CredentialProof)

Tuple Fields of CreateProofOfPossession

0: CredentialProof
SignCredential(BbsCredential)

Tuple Fields of SignCredential

0: BbsCredential
SignCredentialRequest(CredentialFragment2)

Tuple Fields of SignCredentialRequest

0: CredentialFragment2
AcceptCredentialOffer(CredentialRequestFragment)

Tuple Fields of AcceptCredentialOffer

0: CredentialRequestFragment
CombineCredentialFragments(BbsCredential)

Tuple Fields of CombineCredentialFragments

0: BbsCredential
IsValidCredential(bool)

Tuple Fields of IsValidCredential

0: bool
PresentCredential(CredentialPresentation)

Tuple Fields of PresentCredential

0: CredentialPresentation
CreateProofRequestId(ProofRequestId)

Tuple Fields of CreateProofRequestId

0: ProofRequestId
VerifyProofOfPossession(bool)

Tuple Fields of VerifyProofOfPossession

0: bool
VerifyCredentialPresentation(bool)

Tuple Fields of VerifyCredentialPresentation

0: bool
AddCredential
GetCredential(EntityCredential)

Tuple Fields of GetCredential

0: EntityCredential
Lease(Lease)

Tuple Fields of Lease

0: Lease

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Decode a slice.

Encode the type into an Encoded type.

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Should always be Self

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more