pub struct WebhookConfig {
pub bind_addr: String,
pub webhook_secret: String,
pub policies_dir: PathBuf,
pub work_dir: PathBuf,
pub signing_key: Option<String>,
pub github_token: Option<String>,
pub codeberg_token: Option<String>,
pub auto_fix_pr: bool,
pub status_context: String,
pub public_url: Option<String>,
}Fields§
§bind_addr: String§webhook_secret: String§policies_dir: PathBuf§work_dir: PathBuf§signing_key: Option<String>§github_token: Option<String>§codeberg_token: Option<String>§auto_fix_pr: bool§status_context: String§public_url: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for WebhookConfig
impl Clone for WebhookConfig
Source§fn clone(&self) -> WebhookConfig
fn clone(&self) -> WebhookConfig
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 moreAuto Trait Implementations§
impl Freeze for WebhookConfig
impl RefUnwindSafe for WebhookConfig
impl Send for WebhookConfig
impl Sync for WebhookConfig
impl Unpin for WebhookConfig
impl UnsafeUnpin for WebhookConfig
impl UnwindSafe for WebhookConfig
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