pub struct RecoveryRules {
pub exact_file_names: Vec<String>,
pub file_name_prefixes: Vec<String>,
pub directory_names: Vec<String>,
pub rel_path_suffixes: Vec<String>,
}Expand description
Phase 2 path predicates; OR across fields. Product-specific filename lists live in callers, not in this crate.
Fields§
§exact_file_names: Vec<String>Match the file base name exactly.
file_name_prefixes: Vec<String>Match a file base name prefix.
directory_names: Vec<String>Match a directory base name (presence sentinel).
rel_path_suffixes: Vec<String>Match a full rel_path suffix.
Trait Implementations§
Source§impl Clone for RecoveryRules
impl Clone for RecoveryRules
Source§fn clone(&self) -> RecoveryRules
fn clone(&self) -> RecoveryRules
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 RecoveryRules
impl Debug for RecoveryRules
Source§impl Default for RecoveryRules
impl Default for RecoveryRules
Source§fn default() -> RecoveryRules
fn default() -> RecoveryRules
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecoveryRules
impl RefUnwindSafe for RecoveryRules
impl Send for RecoveryRules
impl Sync for RecoveryRules
impl Unpin for RecoveryRules
impl UnsafeUnpin for RecoveryRules
impl UnwindSafe for RecoveryRules
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