pub struct ValidatedEntry { /* private fields */ }Expand description
Result of entry validation.
Contains validated and sanitized entry information ready for extraction.
§Security Properties
- Can ONLY be constructed through
EntryValidator::validate_entry - Fields are private; accessed through getters, so a
ValidatedEntrycannot be hand-assembled from unvalidated parts anywhere else in the crate
Implementations§
Source§impl ValidatedEntry
impl ValidatedEntry
Sourcepub fn safe_path(&self) -> &SafePath
pub fn safe_path(&self) -> &SafePath
Returns the validated path within the destination directory.
Sourcepub fn entry_type(&self) -> &ValidatedEntryType
pub fn entry_type(&self) -> &ValidatedEntryType
Returns the validated entry type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidatedEntry
impl RefUnwindSafe for ValidatedEntry
impl Send for ValidatedEntry
impl Sync for ValidatedEntry
impl Unpin for ValidatedEntry
impl UnsafeUnpin for ValidatedEntry
impl UnwindSafe for ValidatedEntry
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