pub struct GithubConfig {
pub api_url: Option<String>,
pub token: Option<String>,
pub token_cmd: Option<String>,
pub ignore_repos: Vec<String>,
pub ignore_authors: Vec<String>,
pub ignore_teams: Vec<String>,
pub include_drafts: bool,
}Fields§
§api_url: Option<String>REST API base URL. Defaults to https://api.github.com; set this for GitHub Enterprise
(typically https://{host}/api/v3).
token: Option<String>§token_cmd: Option<String>§ignore_repos: Vec<String>§ignore_teams: Vec<String>§include_drafts: boolTrait Implementations§
Source§impl Clone for GithubConfig
impl Clone for GithubConfig
Source§impl Debug for GithubConfig
impl Debug for GithubConfig
Source§impl Default for GithubConfig
impl Default for GithubConfig
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