Struct git2::SubmoduleUpdateOptions
source · pub struct SubmoduleUpdateOptions<'cb> { /* private fields */ }
Expand description
Options to update a submodule.
Implementations§
source§impl<'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> Freeze for SubmoduleUpdateOptions<'cb>
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§
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