pub struct InventoryDelta {
pub old_path: Option<PathBuf>,
pub new_path: Option<PathBuf>,
pub file_id: String,
pub entry: Option<TreeEntry>,
}Expand description
Represents a change in the inventory.
Fields§
§old_path: Option<PathBuf>The old path (None if new).
new_path: Option<PathBuf>The new path (None if deleted).
file_id: StringThe file ID.
entry: Option<TreeEntry>The entry details.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InventoryDelta
impl RefUnwindSafe for InventoryDelta
impl Send for InventoryDelta
impl Sync for InventoryDelta
impl Unpin for InventoryDelta
impl UnsafeUnpin for InventoryDelta
impl UnwindSafe for InventoryDelta
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