Struct git_checks::config::RejectBiDiConfig
source · pub struct RejectBiDiConfig { /* private fields */ }
Expand description
Configuration for the RejectBiDi
check.
The allow
key is a boolean as to whether the check should raise an error rather than a
warning. Defaults to false
.
This check is registered as a commit check with the name "reject_bidi"
and a topic check
with the name "reject_bidi/topic"
.
Example
{
"allow": true
}
Trait Implementations§
source§impl Debug for RejectBiDiConfig
impl Debug for RejectBiDiConfig
source§impl<'de> Deserialize<'de> for RejectBiDiConfig
impl<'de> Deserialize<'de> for RejectBiDiConfig
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 RejectBiDiConfig
impl IntoCheck for RejectBiDiConfig
§type Check = RejectBiDi
type Check = RejectBiDi
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 RejectBiDiConfig
impl Send for RejectBiDiConfig
impl Sync for RejectBiDiConfig
impl Unpin for RejectBiDiConfig
impl UnwindSafe for RejectBiDiConfig
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