[][src]Struct git2::CherrypickOptions

pub struct CherrypickOptions<'cb> { /* fields omitted */ }

Options to specify when cherry picking

Implementations

impl<'cb> CherrypickOptions<'cb>[src]

pub fn new() -> CherrypickOptions<'cb>[src]

Creates a default set of cherrypick options

pub fn mainline(&mut self, mainline: u32) -> &mut Self[src]

Set the mainline value

For merge commits, the "mainline" is treated as the parent.

pub fn checkout_builder(&mut self, cb: CheckoutBuilder<'cb>) -> &mut Self[src]

Set the checkout builder

pub fn merge_opts(&mut self, merge_opts: MergeOptions) -> &mut Self[src]

Set the merge options

pub fn raw(&mut self) -> git_cherrypick_options[src]

Obtain the raw struct

Auto Trait Implementations

impl<'cb> !RefUnwindSafe for CherrypickOptions<'cb>[src]

impl<'cb> !Send for CherrypickOptions<'cb>[src]

impl<'cb> !Sync for CherrypickOptions<'cb>[src]

impl<'cb> Unpin for CherrypickOptions<'cb>[src]

impl<'cb> !UnwindSafe for CherrypickOptions<'cb>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.