#[non_exhaustive]pub struct RenamePlanEntry {
pub source: PathBuf,
pub target: PathBuf,
pub collision_suffix: Option<u32>,
}Expand description
A single source→target rename mapping (FR-041).
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.source: PathBufSource path.
target: PathBufTarget path after the pipeline has been applied.
collision_suffix: Option<u32>Numeric collision-suffix applied (if any).
Trait Implementations§
Source§impl Clone for RenamePlanEntry
impl Clone for RenamePlanEntry
Source§fn clone(&self) -> RenamePlanEntry
fn clone(&self) -> RenamePlanEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenamePlanEntry
impl Debug for RenamePlanEntry
Source§impl PartialEq for RenamePlanEntry
impl PartialEq for RenamePlanEntry
Source§fn eq(&self, other: &RenamePlanEntry) -> bool
fn eq(&self, other: &RenamePlanEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RenamePlanEntry
impl StructuralPartialEq for RenamePlanEntry
Auto Trait Implementations§
impl Freeze for RenamePlanEntry
impl RefUnwindSafe for RenamePlanEntry
impl Send for RenamePlanEntry
impl Sync for RenamePlanEntry
impl Unpin for RenamePlanEntry
impl UnsafeUnpin for RenamePlanEntry
impl UnwindSafe for RenamePlanEntry
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