pub struct RepositoryBuilder { /* private fields */ }
Implementations§
Source§impl RepositoryBuilder
impl RepositoryBuilder
pub fn new(name: &str) -> Self
pub fn remote(self, remote: Remote) -> Self
pub fn tag(self, tag: String) -> Self
pub fn location(self, location: Location) -> Self
pub fn path<P: AsRef<Path>>(self, path: P) -> Self
pub fn cli(self, use_cli: bool) -> Self
pub fn clone(self, command: String) -> Self
pub fn work(self, command: String) -> Self
pub fn build(self) -> Repository
Auto Trait Implementations§
impl Freeze for RepositoryBuilder
impl RefUnwindSafe for RepositoryBuilder
impl Send for RepositoryBuilder
impl Sync for RepositoryBuilder
impl Unpin for RepositoryBuilder
impl UnwindSafe for RepositoryBuilder
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