pub struct BundleRules {
pub excluded: Vec<String>,
pub custom_secret_patterns: Vec<String>,
pub home: Option<PathBuf>,
}Expand description
What decides which files may leave.
Fields§
§excluded: Vec<String>security.excluded_paths of the effective policy (gitignore globs).
custom_secret_patterns: Vec<String>[secret_detection] custom_patterns.
home: Option<PathBuf>This machine’s home directory; content naming it is refused.
Implementations§
Source§impl BundleRules
impl BundleRules
Sourcepub fn for_installation(excluded: Vec<String>) -> Self
pub fn for_installation(excluded: Vec<String>) -> Self
The rules of this installation for excluded policy globs.
Trait Implementations§
Source§impl Clone for BundleRules
impl Clone for BundleRules
Source§impl Debug for BundleRules
impl Debug for BundleRules
Auto Trait Implementations§
impl Freeze for BundleRules
impl RefUnwindSafe for BundleRules
impl Send for BundleRules
impl Sync for BundleRules
impl Unpin for BundleRules
impl UnsafeUnpin for BundleRules
impl UnwindSafe for BundleRules
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more