pub struct GithubConfig {
pub api_key: Secret<String>,
pub starred: bool,
pub owned: bool,
}
Expand description
Github-specific settings.
Fields§
§api_key: Secret<String>
The API key to use. You will need to create a new personal access
token and give it the public_repo
permissions before you can
fetch repos from GitHub.
starred: bool
Should we download all starred repos? (default: true)
owned: bool
Should we download all owned repos? (default: true)
Trait Implementations§
Source§impl Clone for GithubConfig
impl Clone for GithubConfig
Source§fn clone(&self) -> GithubConfig
fn clone(&self) -> GithubConfig
Returns a copy 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 GithubConfig
impl Debug 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
Source§impl PartialEq for GithubConfig
impl PartialEq for GithubConfig
Source§impl Serialize for GithubConfig
impl Serialize for GithubConfig
impl StructuralPartialEq for GithubConfig
Auto Trait Implementations§
impl Freeze for GithubConfig
impl RefUnwindSafe for GithubConfig
impl Send for GithubConfig
impl Sync for GithubConfig
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more