pub struct GithubConfig {
pub token: Option<String>,
pub org: Option<String>,
pub repo: Option<String>,
pub fetch_prs: bool,
}Expand description
GitHub API integration settings.
Fields§
§token: Option<String>Personal access token (often sourced from GITHUB_TOKEN).
org: Option<String>Organization slug for org-wide queries.
repo: Option<String>Single-repository slug (owner/name).
fetch_prs: boolWhether to fetch pull request metadata.
Trait Implementations§
Source§impl Clone for GithubConfig
impl Clone for GithubConfig
Source§fn clone(&self) -> GithubConfig
fn clone(&self) -> GithubConfig
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 GithubConfig
impl Debug for GithubConfig
Source§impl Default for GithubConfig
impl Default for GithubConfig
Source§fn default() -> GithubConfig
fn default() -> GithubConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubConfig
impl<'de> Deserialize<'de> for GithubConfig
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 GithubConfig
impl RefUnwindSafe for GithubConfig
impl Send for GithubConfig
impl Sync for GithubConfig
impl Unpin for GithubConfig
impl UnsafeUnpin for GithubConfig
impl UnwindSafe for GithubConfig
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