pub struct MultiRepoFixtureConfig { /* private fields */ }Expand description
Configuration for deterministic multi-repo fixture generation.
Implementations§
Source§impl MultiRepoFixtureConfig
impl MultiRepoFixtureConfig
Sourcepub fn new(
canonical_root: PathBuf,
alias_root: PathBuf,
namespace: impl Into<String>,
) -> Self
pub fn new( canonical_root: PathBuf, alias_root: PathBuf, namespace: impl Into<String>, ) -> Self
Build a config with explicit topology roots and namespace.
Sourcepub fn canonical_root(&self) -> &Path
pub fn canonical_root(&self) -> &Path
Canonical root where fixture namespace will be created.
Sourcepub fn alias_root(&self) -> &Path
pub fn alias_root(&self) -> &Path
Alias root expected to resolve to canonical root.
Trait Implementations§
Source§impl Clone for MultiRepoFixtureConfig
impl Clone for MultiRepoFixtureConfig
Source§fn clone(&self) -> MultiRepoFixtureConfig
fn clone(&self) -> MultiRepoFixtureConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiRepoFixtureConfig
impl Debug for MultiRepoFixtureConfig
Source§impl Default for MultiRepoFixtureConfig
impl Default for MultiRepoFixtureConfig
Source§impl PartialEq for MultiRepoFixtureConfig
impl PartialEq for MultiRepoFixtureConfig
Source§fn eq(&self, other: &MultiRepoFixtureConfig) -> bool
fn eq(&self, other: &MultiRepoFixtureConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MultiRepoFixtureConfig
impl StructuralPartialEq for MultiRepoFixtureConfig
Auto Trait Implementations§
impl Freeze for MultiRepoFixtureConfig
impl RefUnwindSafe for MultiRepoFixtureConfig
impl Send for MultiRepoFixtureConfig
impl Sync for MultiRepoFixtureConfig
impl Unpin for MultiRepoFixtureConfig
impl UnsafeUnpin for MultiRepoFixtureConfig
impl UnwindSafe for MultiRepoFixtureConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.