Enum GitPolicyEnforcer::structs::ValidationError
source · [−]pub enum ValidationError {
TitleFormat(String),
TitleMaxLength(u8),
BodyRequired,
BodyMaxLineLength(u8),
EnforceSquashMerge,
RegexCompilation(String),
}
Variants
TitleFormat(String)
TitleMaxLength(u8)
BodyRequired
BodyMaxLineLength(u8)
EnforceSquashMerge
RegexCompilation(String)
Trait Implementations
sourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl PartialEq<ValidationError> for ValidationError
impl PartialEq<ValidationError> for ValidationError
sourcefn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ValidationError) -> bool
fn ne(&self, other: &ValidationError) -> bool
This method tests for !=
.
impl StructuralPartialEq for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more