pub struct CommentPolicy {
pub enabled: bool,
pub max_ratio: Option<f32>,
pub ignore_globs: Vec<String>,
pub allow_globs: Vec<String>,
pub keywords: Vec<String>,
pub ticket_reference_regex: Option<String>,
}Fields§
§enabled: bool§max_ratio: Option<f32>§ignore_globs: Vec<String>§allow_globs: Vec<String>§keywords: Vec<String>§ticket_reference_regex: Option<String>Trait Implementations§
Source§impl Clone for CommentPolicy
impl Clone for CommentPolicy
Source§impl Debug for CommentPolicy
impl Debug for CommentPolicy
Source§impl Default for CommentPolicy
impl Default for CommentPolicy
Source§impl<'de> Deserialize<'de> for CommentPolicywhere
CommentPolicy: Default,
impl<'de> Deserialize<'de> for CommentPolicywhere
CommentPolicy: Default,
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
Auto Trait Implementations§
impl Freeze for CommentPolicy
impl RefUnwindSafe for CommentPolicy
impl Send for CommentPolicy
impl Sync for CommentPolicy
impl Unpin for CommentPolicy
impl UnsafeUnpin for CommentPolicy
impl UnwindSafe for CommentPolicy
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