#[non_exhaustive]pub struct MigratedItem {
pub kind: MetadataRecord,
pub id: NativeId,
pub from: String,
}Expand description
One item a sweep rewrote, or under a dry run would rewrite.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: MetadataRecordWhether the item is a task, a project or a document.
id: NativeIdThe item’s id in its source.
from: StringThe superseded form the item was held in, as its plugin names it — html-comment-slot,
say.
Implementations§
Source§impl MigratedItem
impl MigratedItem
Trait Implementations§
Source§impl Clone for MigratedItem
impl Clone for MigratedItem
Source§impl Debug for MigratedItem
impl Debug for MigratedItem
impl Eq for MigratedItem
Source§impl PartialEq for MigratedItem
impl PartialEq for MigratedItem
impl StructuralPartialEq for MigratedItem
Auto Trait Implementations§
impl Forget for MigratedItem
impl Freeze for MigratedItem
impl Move for MigratedItem
impl RefUnwindSafe for MigratedItem
impl Send for MigratedItem
impl Sync for MigratedItem
impl Unpin for MigratedItem
impl UnsafeUnpin for MigratedItem
impl UnwindSafe for MigratedItem
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