Struct backend::JsonDataProvide
source · pub struct JsonDataProvide { /* private fields */ }Implementations§
Trait Implementations§
source§impl DataProvider for JsonDataProvide
impl DataProvider for JsonDataProvide
fn load_all_entries<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<Entry>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn add_entry<'life0, 'async_trait>( &'life0 self, entry: EntryDraft ) -> Pin<Box<dyn Future<Output = Result<Entry, ModifyEntryError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn remove_entry<'life0, 'async_trait>( &'life0 self, entry_id: u32 ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn update_entry<'life0, 'async_trait>( &'life0 self, entry: Entry ) -> Pin<Box<dyn Future<Output = Result<Entry, ModifyEntryError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn get_export_object<'life0, 'life1, 'async_trait>( &'life0 self, entries_ids: &'life1 [u32] ) -> Pin<Box<dyn Future<Output = Result<EntriesDTO>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn import_entries<'life0, 'async_trait>( &'life0 self, entries_dto: EntriesDTO ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for JsonDataProvide
impl Send for JsonDataProvide
impl Sync for JsonDataProvide
impl Unpin for JsonDataProvide
impl UnwindSafe for JsonDataProvide
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