pub struct BitbucketImportArgs {
pub pr: u64,
pub repo: Option<String>,
pub workspace: Option<String>,
pub token: Option<String>,
pub namespace: Option<String>,
}Fields§
§pr: u64Bitbucket Pull Request ID
repo: Option<String>Repository slug
workspace: Option<String>Bitbucket workspace
token: Option<String>Bitbucket App Password / Access Token (defaults to BITBUCKET_TOKEN env var)
namespace: Option<String>Namespace to store imported comments (default: review)
Trait Implementations§
Source§impl Args for BitbucketImportArgs
impl Args for BitbucketImportArgs
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 Clone for BitbucketImportArgs
impl Clone for BitbucketImportArgs
Source§impl Debug for BitbucketImportArgs
impl Debug for BitbucketImportArgs
Source§impl FromArgMatches for BitbucketImportArgs
impl FromArgMatches for BitbucketImportArgs
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 BitbucketImportArgs
impl RefUnwindSafe for BitbucketImportArgs
impl Send for BitbucketImportArgs
impl Sync for BitbucketImportArgs
impl Unpin for BitbucketImportArgs
impl UnsafeUnpin for BitbucketImportArgs
impl UnwindSafe for BitbucketImportArgs
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