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
sourceimpl<'de> Deserialize<'de> for CheckExecutablePermissionsConfig
impl<'de> Deserialize<'de> for CheckExecutablePermissionsConfig
sourcefn 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
sourceimpl IntoCheck for CheckExecutablePermissionsConfig
impl IntoCheck for CheckExecutablePermissionsConfig
type Check = CheckExecutablePermissions
type Check = CheckExecutablePermissions
The check parsed by this configuration.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more