Struct git2::SubmoduleUpdateOptions [−][src]
Options to update a submodule.
Implementations
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> !RefUnwindSafe for SubmoduleUpdateOptions<'cb>
impl<'cb> !Send for SubmoduleUpdateOptions<'cb>
impl<'cb> !Sync for SubmoduleUpdateOptions<'cb>
impl<'cb> Unpin for SubmoduleUpdateOptions<'cb>
impl<'cb> !UnwindSafe for SubmoduleUpdateOptions<'cb>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,