pub struct DetectedFile {
pub path: PathBuf,
pub name: String,
pub old_version: String,
}Expand description
Information about a detected version file (no writes performed).
Fields§
§path: PathBufAbsolute path to the file.
name: StringHuman-readable engine name (e.g. "Cargo.toml").
old_version: StringCurrent version string in the file.
Trait Implementations§
Source§impl Clone for DetectedFile
impl Clone for DetectedFile
Source§fn clone(&self) -> DetectedFile
fn clone(&self) -> DetectedFile
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 moreSource§impl Debug for DetectedFile
impl Debug for DetectedFile
Source§impl PartialEq for DetectedFile
impl PartialEq for DetectedFile
impl Eq for DetectedFile
impl StructuralPartialEq for DetectedFile
Auto Trait Implementations§
impl Freeze for DetectedFile
impl RefUnwindSafe for DetectedFile
impl Send for DetectedFile
impl Sync for DetectedFile
impl Unpin for DetectedFile
impl UnsafeUnpin for DetectedFile
impl UnwindSafe for DetectedFile
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