Struct git2::SubmoduleUpdateOptions
source · [−]pub struct SubmoduleUpdateOptions<'cb> { /* private fields */ }
Expand description
Options to update a submodule.
Implementations
sourceimpl<'cb> SubmoduleUpdateOptions<'cb>
impl<'cb> SubmoduleUpdateOptions<'cb>
sourcepub fn checkout(&mut self, opts: CheckoutBuilder<'cb>) -> &mut Self
pub fn checkout(&mut self, opts: CheckoutBuilder<'cb>) -> &mut Self
Set checkout options.
sourcepub fn fetch(&mut self, opts: FetchOptions<'cb>) -> &mut Self
pub fn fetch(&mut self, opts: FetchOptions<'cb>) -> &mut Self
Set fetch options and allow fetching.
sourcepub fn allow_fetch(&mut self, b: bool) -> &mut Self
pub fn allow_fetch(&mut self, b: bool) -> &mut Self
Allow or disallow fetching.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more