pub struct ScrubConfig {
pub version: u32,
pub builtins: BuiltinsMode,
pub disable_builtins: Vec<String>,
pub patterns: Vec<Pattern>,
pub entropy: EntropyConfigRaw,
pub paths: PathRulesRaw,
pub allowlist: Vec<AllowlistEntry>,
pub report: ReportConfig,
}Expand description
Root of .cargo-context/scrub.yaml.
Fields§
§version: u32§builtins: BuiltinsMode§disable_builtins: Vec<String>§patterns: Vec<Pattern>§entropy: EntropyConfigRaw§paths: PathRulesRaw§allowlist: Vec<AllowlistEntry>§report: ReportConfigTrait Implementations§
Source§impl Clone for ScrubConfig
impl Clone for ScrubConfig
Source§fn clone(&self) -> ScrubConfig
fn clone(&self) -> ScrubConfig
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 ScrubConfig
impl Debug for ScrubConfig
Source§impl Default for ScrubConfig
impl Default for ScrubConfig
Source§fn default() -> ScrubConfig
fn default() -> ScrubConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScrubConfigwhere
ScrubConfig: Default,
impl<'de> Deserialize<'de> for ScrubConfigwhere
ScrubConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScrubConfig
impl RefUnwindSafe for ScrubConfig
impl Send for ScrubConfig
impl Sync for ScrubConfig
impl Unpin for ScrubConfig
impl UnsafeUnpin for ScrubConfig
impl UnwindSafe for ScrubConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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