#[non_exhaustive]pub struct RefusedFile {
pub path: PathBuf,
pub reason: String,
}Expand description
An existing file that generation would not overwrite.
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.path: PathBuf§reason: StringTrait Implementations§
Source§impl Clone for RefusedFile
impl Clone for RefusedFile
Source§impl Debug for RefusedFile
impl Debug for RefusedFile
impl Eq for RefusedFile
Source§impl PartialEq for RefusedFile
impl PartialEq for RefusedFile
impl StructuralPartialEq for RefusedFile
Auto Trait Implementations§
impl Freeze for RefusedFile
impl RefUnwindSafe for RefusedFile
impl Send for RefusedFile
impl Sync for RefusedFile
impl Unpin for RefusedFile
impl UnsafeUnpin for RefusedFile
impl UnwindSafe for RefusedFile
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