pub struct IssuesSection {
pub default_priority: char,
pub id_length: usize,
pub stale_claim_days: i64,
pub expect_deeds: bool,
}Expand description
Knobs that shape newly created issues.
Fields§
§default_priority: charPriority cookie applied when create is called without one.
id_length: usizeLength in base36 characters of the random suffix in a generated id.
stale_claim_days: i64How long a claim may sit on a STARTED issue before hygiene calls it stale.
expect_deeds: boolWhether hygiene reports work that closed without naming what it made.
Off by default, because plenty of issues produce nothing a deed store would hold: a decision, a review, a question answered. On a tracker where the next unit is expected to open the last one’s product, work that closed citing nothing is a hole in the handoff, and this is what makes that visible instead of leaving it to be discovered by whoever needed it.
Trait Implementations§
Source§impl Clone for IssuesSection
impl Clone for IssuesSection
Source§fn clone(&self) -> IssuesSection
fn clone(&self) -> IssuesSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssuesSection
impl Debug for IssuesSection
Source§impl Default for IssuesSection
impl Default for IssuesSection
Source§impl<'de> Deserialize<'de> for IssuesSectionwhere
IssuesSection: Default,
impl<'de> Deserialize<'de> for IssuesSectionwhere
IssuesSection: 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 IssuesSection
impl RefUnwindSafe for IssuesSection
impl Send for IssuesSection
impl Sync for IssuesSection
impl Unpin for IssuesSection
impl UnsafeUnpin for IssuesSection
impl UnwindSafe for IssuesSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more