pub struct MigratedSession {
pub path: Option<PathBuf>,
pub legacy_path: PathBuf,
pub warnings: Vec<MigrationWarning>,
}Expand description
Outcome of migrating one pre-v1 Oino file (D21).
Fields§
§path: Option<PathBuf>New v3 file, None when the session had no messages (only moved aside).
legacy_path: PathBufWhere the original was moved (<root>/.legacy/<name>).
warnings: Vec<MigrationWarning>Dropped/approximated records.
Trait Implementations§
Source§impl Clone for MigratedSession
impl Clone for MigratedSession
Source§impl Debug for MigratedSession
impl Debug for MigratedSession
impl Eq for MigratedSession
Source§impl PartialEq for MigratedSession
impl PartialEq for MigratedSession
impl StructuralPartialEq for MigratedSession
Auto Trait Implementations§
impl Freeze for MigratedSession
impl RefUnwindSafe for MigratedSession
impl Send for MigratedSession
impl Sync for MigratedSession
impl Unpin for MigratedSession
impl UnsafeUnpin for MigratedSession
impl UnwindSafe for MigratedSession
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.