pub struct Setup {
pub required_check: String,
pub retired_branches: Vec<String>,
pub line_prefix: Option<String>,
pub release_lines: bool,
pub excluded_steps: BTreeMap<String, String>,
pub bot: Bot,
}Expand description
The setup table.
Fields§
§required_check: StringN: the check the merge must pass.
retired_branches: Vec<String>N: long-lived branches retired by the trunk.
line_prefix: Option<String>P: release-line branch prefix, rendered into the release triggers and branch guards a landing writes. Absent means unanswered, so a record’s own answer survives an upgrade that predates the key.
release_lines: boolN: run release-line protection in a full apply.
excluded_steps: BTreeMap<String, String>N: the steps this target does not run, each against the reason a report prints. An exclusion narrows what the setup judges and weakens no floor: every value a step the target still runs reads is floored exactly as before.
bot: BotPublic bot identity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Setup
impl<'de> Deserialize<'de> for Setup
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
impl Eq for Setup
impl StructuralPartialEq for Setup
Auto Trait Implementations§
impl Freeze for Setup
impl RefUnwindSafe for Setup
impl Send for Setup
impl Sync for Setup
impl Unpin for Setup
impl UnsafeUnpin for Setup
impl UnwindSafe for Setup
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.