pub struct CollectionBackupResult {
pub backup_dir: PathBuf,
pub successful: Vec<BackupResult>,
pub failed: Vec<(String, String)>,
}Expand description
Result of a collection backup operation.
Fields§
§backup_dir: PathBufDirectory containing the backup files.
successful: Vec<BackupResult>Successfully backed up decks.
failed: Vec<(String, String)>Decks that failed to backup (deck name, error message).
Trait Implementations§
Source§impl Clone for CollectionBackupResult
impl Clone for CollectionBackupResult
Source§fn clone(&self) -> CollectionBackupResult
fn clone(&self) -> CollectionBackupResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CollectionBackupResult
impl RefUnwindSafe for CollectionBackupResult
impl Send for CollectionBackupResult
impl Sync for CollectionBackupResult
impl Unpin for CollectionBackupResult
impl UnwindSafe for CollectionBackupResult
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