pub struct RestoreResult {
pub schema_version: u32,
pub backup_date: DateTime<Utc>,
pub accounts_restored: bool,
pub transactions_restored: bool,
pub budget_restored: bool,
pub payees_restored: bool,
}Expand description
Result of a restore operation
Fields§
§schema_version: u32Schema version of the restored backup
backup_date: DateTime<Utc>Date the backup was created
accounts_restored: boolWhether accounts were restored
transactions_restored: boolWhether transactions were restored
budget_restored: boolWhether budget data was restored
payees_restored: boolWhether payees were restored
Implementations§
Source§impl RestoreResult
impl RestoreResult
Trait Implementations§
Source§impl Debug for RestoreResult
impl Debug for RestoreResult
Source§impl Default for RestoreResult
impl Default for RestoreResult
Source§fn default() -> RestoreResult
fn default() -> RestoreResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RestoreResult
impl RefUnwindSafe for RestoreResult
impl Send for RestoreResult
impl Sync for RestoreResult
impl Unpin for RestoreResult
impl UnwindSafe for RestoreResult
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