pub struct GithubProvider {
pub name: String,
pub url: String,
/* private fields */
}
Fields§
§name: String
The name of the user or organisation to add.
url: String
Github instance URL, if using Github Enterprise this should be http(s)://HOSTNAME/api/graphql
Trait Implementations§
Source§impl Args for GithubProvider
impl Args for GithubProvider
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§impl CommandFactory for GithubProvider
impl CommandFactory for GithubProvider
Source§impl Debug for GithubProvider
impl Debug for GithubProvider
Source§impl Default for GithubProvider
impl Default for GithubProvider
Source§fn default() -> GithubProvider
fn default() -> GithubProvider
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubProvider
impl<'de> Deserialize<'de> for GithubProvider
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 Display for GithubProvider
impl Display for GithubProvider
Source§impl FromArgMatches for GithubProvider
impl FromArgMatches for GithubProvider
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl Ord for GithubProvider
impl Ord for GithubProvider
Source§fn cmp(&self, other: &GithubProvider) -> Ordering
fn cmp(&self, other: &GithubProvider) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parser for GithubProvider
impl Parser for GithubProvider
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl PartialEq for GithubProvider
impl PartialEq for GithubProvider
Source§impl PartialOrd for GithubProvider
impl PartialOrd for GithubProvider
Source§impl Provider for GithubProvider
impl Provider for GithubProvider
Source§fn correctly_configured(&self) -> bool
fn correctly_configured(&self) -> bool
Returns true if the provider should work, otherwise prints an error and return false
fn fetch_repositories(&self) -> Result<Vec<Repository>>
Source§impl Serialize for GithubProvider
impl Serialize for GithubProvider
impl Eq for GithubProvider
impl StructuralPartialEq for GithubProvider
Auto Trait Implementations§
impl Freeze for GithubProvider
impl RefUnwindSafe for GithubProvider
impl Send for GithubProvider
impl Sync for GithubProvider
impl Unpin for GithubProvider
impl UnwindSafe for GithubProvider
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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