pub struct PathValidation {
pub path: PathBuf,
pub valid: bool,
pub error: Option<ValidationError>,
}Expand description
Result of path validation
Fields§
§path: PathBufThe path being validated
valid: boolWhether the path is valid
error: Option<ValidationError>Error if validation failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathValidation
impl !RefUnwindSafe for PathValidation
impl Send for PathValidation
impl Sync for PathValidation
impl Unpin for PathValidation
impl !UnwindSafe for PathValidation
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