pub struct RepositoryFactoryBuilder { /* private fields */ }
Expand description
Builder for RepositoryFactory
Implementations§
Source§impl RepositoryFactoryBuilder
impl RepositoryFactoryBuilder
Sourcepub fn with_mocks(self) -> Self
pub fn with_mocks(self) -> Self
Use mock repositories
Sourcepub fn with_http_provider(self, provider: Arc<dyn HttpProviderSafe>) -> Self
pub fn with_http_provider(self, provider: Arc<dyn HttpProviderSafe>) -> Self
Set HTTP provider
Sourcepub fn build(self) -> RepositoryFactory
pub fn build(self) -> RepositoryFactory
Build the factory
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepositoryFactoryBuilder
impl !RefUnwindSafe for RepositoryFactoryBuilder
impl Send for RepositoryFactoryBuilder
impl Sync for RepositoryFactoryBuilder
impl Unpin for RepositoryFactoryBuilder
impl !UnwindSafe for RepositoryFactoryBuilder
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