pub struct PullUpdateOptionsBuilder(/* private fields */);
Implementations§
Source§impl PullUpdateOptionsBuilder
impl PullUpdateOptionsBuilder
Sourcepub fn description<B>(&mut self, description: B) -> &mut Self
pub fn description<B>(&mut self, description: B) -> &mut Self
set the description of the pull
Sourcepub fn status(&mut self, status: PullStatus) -> &mut Self
pub fn status(&mut self, status: PullStatus) -> &mut Self
set the status of the pull
Sourcepub fn merge_strategy(&mut self, merge_strategy: MergeStrategy) -> &mut Self
pub fn merge_strategy(&mut self, merge_strategy: MergeStrategy) -> &mut Self
set the merge strategy of the pull
pub fn draft(&mut self, draft: bool) -> &mut Self
Sourcepub fn build(&self) -> PullUpdateOptions
pub fn build(&self) -> PullUpdateOptions
create a new set of pull edit options
Trait Implementations§
Source§impl Default for PullUpdateOptionsBuilder
impl Default for PullUpdateOptionsBuilder
Source§fn default() -> PullUpdateOptionsBuilder
fn default() -> PullUpdateOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PullUpdateOptionsBuilder
impl RefUnwindSafe for PullUpdateOptionsBuilder
impl Send for PullUpdateOptionsBuilder
impl Sync for PullUpdateOptionsBuilder
impl Unpin for PullUpdateOptionsBuilder
impl UnwindSafe for PullUpdateOptionsBuilder
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