pub struct ExportRestoreResult {
pub accounts_restored: usize,
pub category_groups_restored: usize,
pub categories_restored: usize,
pub transactions_restored: usize,
pub allocations_restored: usize,
pub payees_restored: usize,
pub schema_version: String,
pub exported_at: DateTime<Utc>,
}Expand description
Result of restoring from an export file
Fields§
§accounts_restored: usizeNumber of accounts restored
category_groups_restored: usizeNumber of category groups restored
categories_restored: usizeNumber of categories restored
transactions_restored: usizeNumber of transactions restored
allocations_restored: usizeNumber of allocations restored
payees_restored: usizeNumber of payees restored
schema_version: StringSchema version of the restored export
exported_at: DateTime<Utc>Date the export was created
Implementations§
Trait Implementations§
Source§impl Debug for ExportRestoreResult
impl Debug for ExportRestoreResult
Source§impl Default for ExportRestoreResult
impl Default for ExportRestoreResult
Source§fn default() -> ExportRestoreResult
fn default() -> ExportRestoreResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportRestoreResult
impl RefUnwindSafe for ExportRestoreResult
impl Send for ExportRestoreResult
impl Sync for ExportRestoreResult
impl Unpin for ExportRestoreResult
impl UnwindSafe for ExportRestoreResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more