[][src]Struct git2::SubmoduleUpdateOptions

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

Options to update a submodule.

Methods

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

pub fn new() -> Self[src]

Return default options.

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

Set checkout options.

pub fn fetch(&mut self, opts: FetchOptions<'cb>) -> &mut Self[src]

Set fetch options and allow fetching.

pub fn allow_fetch(&mut self, b: bool) -> &mut Self[src]

Allow or disallow fetching.

Trait Implementations

impl<'cb> Default for SubmoduleUpdateOptions<'cb>[src]

Auto Trait Implementations

impl<'cb> Unpin for SubmoduleUpdateOptions<'cb>

impl<'cb> !Sync for SubmoduleUpdateOptions<'cb>

impl<'cb> !Send for SubmoduleUpdateOptions<'cb>

impl<'cb> !UnwindSafe for SubmoduleUpdateOptions<'cb>

impl<'cb> !RefUnwindSafe for SubmoduleUpdateOptions<'cb>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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