pub struct SkipPullRequestsConfigBuilder {
pub remote_url: Option<String>,
pub directory: Option<String>,
pub good: Option<String>,
pub bad: Option<String>,
pub dry_run: bool,
}Expand description
Builder for creating SkipPullRequestsConfig from command-line arguments and user input.
Fields§
§remote_url: Option<String>§directory: Option<String>§good: Option<String>§bad: Option<String>§dry_run: boolImplementations§
Source§impl SkipPullRequestsConfigBuilder
impl SkipPullRequestsConfigBuilder
pub fn new() -> Self
pub fn remote_url(self, remote_url: Option<String>) -> Self
pub fn directory(self, directory: Option<String>) -> Self
pub fn good(self, good: Option<String>) -> Self
pub fn bad(self, bad: Option<String>) -> Self
pub fn dry_run(self, dry_run: bool) -> Self
pub fn build(self) -> Result<SkipPullRequestsConfig>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkipPullRequestsConfigBuilder
impl RefUnwindSafe for SkipPullRequestsConfigBuilder
impl Send for SkipPullRequestsConfigBuilder
impl Sync for SkipPullRequestsConfigBuilder
impl Unpin for SkipPullRequestsConfigBuilder
impl UnwindSafe for SkipPullRequestsConfigBuilder
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