Struct lockchain_core::users::UserStore[][src]

pub struct UserStore { /* fields omitted */ }

A utility structure that manages users and can be derived from/into a metadata object. By default this process uses base64 encoding.

The workflow for this is to create a new UserStore, add users and then use meta_push_domain and give it the UserStore::into() which is then encoded automatically. The reverse action works the same way

Methods

impl UserStore
[src]

Generate a sign-up token for a new user which needs to be provided in order for them to create an account.

Trait Implementations

impl Default for UserStore
[src]

Returns the "default value" for a type. Read more

impl AutoEncoder for UserStore
[src]

impl From<(MetaDomain, MetaDomain)> for UserStore
[src]

Allow users to turn MetaDomains that are userstores into a UserStore easily

Will most likely panic! if called on a non UserStore

Performs the conversion.

impl From<UserStore> for (MetaDomain, MetaDomain)
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for UserStore

impl Sync for UserStore