pub struct StyleCfg {
pub ban_em_dash: bool,
pub ban_ai_attribution: bool,
pub terse: bool,
pub max_detail_chars: usize,
pub max_summary_chars: usize,
pub max_body_chars: usize,
pub max_issue_body_chars: usize,
pub max_title_chars: usize,
pub pr_comments: PrComments,
}Fields§
§ban_em_dash: bool§ban_ai_attribution: bool§terse: bool§max_detail_chars: usize§max_summary_chars: usize§max_body_chars: usize§max_issue_body_chars: usizeA filed issue’s body. Far larger than a PR comment’s on purpose: a comment is read with the diff in front of you, an issue is picked up cold months later by somebody who needs the whole story.
max_title_chars: usize§pr_comments: PrCommentsImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StyleCfg
impl<'de> Deserialize<'de> for StyleCfg
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 StyleCfg
impl RefUnwindSafe for StyleCfg
impl Send for StyleCfg
impl Sync for StyleCfg
impl Unpin for StyleCfg
impl UnsafeUnpin for StyleCfg
impl UnwindSafe for StyleCfg
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