Struct git_download::Downloader
source · [−]pub struct Downloader { /* private fields */ }
Implementations
sourceimpl Downloader
impl Downloader
sourcepub fn out_dir(self, path: impl AsRef<Path>) -> Self
pub fn out_dir(self, path: impl AsRef<Path>) -> Self
Change the output directory. The default is the current dir.
sourcepub fn branch_name(self, name: impl Into<String>) -> Self
pub fn branch_name(self, name: impl Into<String>) -> Self
Change the branch name. The default is “master”.
Auto Trait Implementations
impl RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl UnwindSafe for Downloader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more