Struct GitPolicyEnforcer::structs::UpdateRules
source · [−]pub struct UpdateRules {
pub branches: Option<Vec<String>>,
pub title_max_length: u8,
pub title_format: String,
pub body_required: Option<bool>,
pub body_max_line_length: Option<u8>,
pub enforce_squash_merge: Option<bool>,
}
Fields
branches: Option<Vec<String>>
title_max_length: u8
title_format: String
body_required: Option<bool>
body_max_line_length: Option<u8>
enforce_squash_merge: Option<bool>
Trait Implementations
sourceimpl Debug for UpdateRules
impl Debug for UpdateRules
sourceimpl<'de> Deserialize<'de> for UpdateRules
impl<'de> Deserialize<'de> for UpdateRules
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
Auto Trait Implementations
impl RefUnwindSafe for UpdateRules
impl Send for UpdateRules
impl Sync for UpdateRules
impl Unpin for UpdateRules
impl UnwindSafe for UpdateRules
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