pub struct RepoMapping {
pub version: String,
pub mappings: HashMap<String, RepoLocation>,
}Expand description
Maps git URLs to local filesystem paths
Fields§
§version: String§mappings: HashMap<String, RepoLocation>Trait Implementations§
Source§impl Clone for RepoMapping
impl Clone for RepoMapping
Source§fn clone(&self) -> RepoMapping
fn clone(&self) -> RepoMapping
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 RepoMapping
impl Debug for RepoMapping
Source§impl Default for RepoMapping
impl Default for RepoMapping
Source§impl<'de> Deserialize<'de> for RepoMapping
impl<'de> Deserialize<'de> for RepoMapping
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepoMapping
impl PartialEq for RepoMapping
Source§fn eq(&self, other: &RepoMapping) -> bool
fn eq(&self, other: &RepoMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepoMapping
impl Serialize for RepoMapping
impl Eq for RepoMapping
impl StructuralPartialEq for RepoMapping
Auto Trait Implementations§
impl Freeze for RepoMapping
impl RefUnwindSafe for RepoMapping
impl Send for RepoMapping
impl Sync for RepoMapping
impl Unpin for RepoMapping
impl UnsafeUnpin for RepoMapping
impl UnwindSafe for RepoMapping
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.