pub struct Profile { /* private fields */ }

Implementations

Sha256 of that value is used as previous event id for first event in a Profile

Label for Profile update key

Current version of change structure

Trait Implementations

Try cloning a object and return an Err in case of failure.

Return unique Profile identifier, which is equal to sha256 of the root public key

Create new key.

Add key that already exists in current Vault

Rotate existing key.

Get Secret key.

Get Secret key.

Get PublicKey.

Get PublicKey.

Create an authentication proof based on the given state

Verify a proof based on the given state, proof and profile.

Add a change event.

Return change history chain

Verify the whole change event chain

Return all known to this profile Contacts

Convert Profile to Contact

Return Contact with given ProfileIdentifier

Verify cryptographically whole event chain. Also verify sequence correctness

Verify and add new Contact to Profile’s Contact list

Verify and update known Contact with new ProfileChangeEvents

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

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.

Should always be Self

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