pub struct AppAuthArgs {
pub app_id: String,
pub key: Option<PathBuf>,
pub api_url: String,
}Expand description
Authentication inputs shared by the API-backed subcommands.
Fields§
§app_id: StringGitHub App ID or Client ID (used as the JWT issuer).
key: Option<PathBuf>Path to the App’s RSA private-key PEM. Overridden by GITHUB_APP_PRIVATE_KEY.
api_url: StringGitHub REST API base URL (set for GitHub Enterprise).
Trait Implementations§
Source§impl Args for AppAuthArgs
impl Args for AppAuthArgs
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 Debug for AppAuthArgs
impl Debug for AppAuthArgs
Source§impl FromArgMatches for AppAuthArgs
impl FromArgMatches for AppAuthArgs
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.Auto Trait Implementations§
impl Freeze for AppAuthArgs
impl RefUnwindSafe for AppAuthArgs
impl Send for AppAuthArgs
impl Sync for AppAuthArgs
impl Unpin for AppAuthArgs
impl UnsafeUnpin for AppAuthArgs
impl UnwindSafe for AppAuthArgs
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