pub struct CheckExecutablePermissionsConfig { /* private fields */ }
Expand description
Configuration for the CheckExecutablePermissions
check.
The extensions
key is a list of strings, defaulting to an empty list. These extensions
are used to detect executable files on Windows since other platforms can usually be
detected by the file contents.
This check is registered as a commit check with the name "check_executable_permissions" and as a topic check with the name
“check_executable_permissions/topic”`.
Example
{
"extensions": [
"bat",
"exe",
"cmd"
]
}
Trait Implementations§
source§impl<'de> Deserialize<'de> for CheckExecutablePermissionsConfig
impl<'de> Deserialize<'de> for CheckExecutablePermissionsConfig
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
source§impl IntoCheck for CheckExecutablePermissionsConfig
impl IntoCheck for CheckExecutablePermissionsConfig
§type Check = CheckExecutablePermissions
type Check = CheckExecutablePermissions
The check parsed by this configuration.
source§fn into_check(self) -> Self::Check
fn into_check(self) -> Self::Check
Create a new instance of the check from the configuration.
Auto Trait Implementations§
impl RefUnwindSafe for CheckExecutablePermissionsConfig
impl Send for CheckExecutablePermissionsConfig
impl Sync for CheckExecutablePermissionsConfig
impl Unpin for CheckExecutablePermissionsConfig
impl UnwindSafe for CheckExecutablePermissionsConfig
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