pub struct WebhookRepoConfig {
pub events: Vec<String>,
pub auto_investigate: bool,
pub auto_fix: bool,
pub auto_merge: bool,
pub labels_filter: Vec<String>,
pub post_commands: Vec<CommandConfig>,
}Expand description
Per-repository webhook configuration.
Fields§
§events: Vec<String>Which events to handle (e.g., “issues”, “push”, “pull_request”).
auto_investigate: boolWhether to automatically investigate issues.
auto_fix: boolWhether to automatically apply fixes.
auto_merge: boolWhether to automatically merge PRs when policy allows.
labels_filter: Vec<String>Only handle issues with these labels (empty = all).
post_commands: Vec<CommandConfig>Commands to run after processing an event.
Trait Implementations§
Source§impl Clone for WebhookRepoConfig
impl Clone for WebhookRepoConfig
Source§fn clone(&self) -> WebhookRepoConfig
fn clone(&self) -> WebhookRepoConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 WebhookRepoConfig
impl Debug for WebhookRepoConfig
Source§impl Default for WebhookRepoConfig
impl Default for WebhookRepoConfig
Source§impl<'de> Deserialize<'de> for WebhookRepoConfig
impl<'de> Deserialize<'de> for WebhookRepoConfig
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 WebhookRepoConfig
impl RefUnwindSafe for WebhookRepoConfig
impl Send for WebhookRepoConfig
impl Sync for WebhookRepoConfig
impl Unpin for WebhookRepoConfig
impl UnsafeUnpin for WebhookRepoConfig
impl UnwindSafe for WebhookRepoConfig
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