pub struct RepositoryBuilder { /* private fields */ }
Expand description
Implementations§
Source§impl RepositoryBuilder
impl RepositoryBuilder
Sourcepub fn new(name: &str, url: &str) -> Self
pub fn new(name: &str, url: &str) -> Self
Create new repository builder with repository name and url
Sourcepub fn files_metadata(self, load: bool) -> Self
pub fn files_metadata(self, load: bool) -> Self
Enable or disable loading files metadata
Sourcepub fn progress_listener(self, listener: Box<dyn Fn(Progress)>) -> Self
pub fn progress_listener(self, listener: Box<dyn Fn(Progress)>) -> Self
Set load progress listener
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