pub trait PartyStore where
    Self: Store + Send + 'static, 
{ type PartyModel: Party; type TemporaryModel; fn delete_party<'life0, 'async_trait>(
        &'life0 self,
        party_id: <Self::PartyModel as Party>::Id
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn save_new_party<'life0, 'async_trait>(
        &'life0 self,
        temporary_model: Self::TemporaryModel,
        credentials: Credential,
        details: VersionDetails
    ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn update_party<'life0, 'async_trait>(
        &'life0 self,
        model: Self::PartyModel,
        credentials: Credential,
        details: VersionDetails
    ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn get_our_roles<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<CredentialsRole>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Associated Types

Required Methods

Implementors