pub struct RequirementPath {
pub root: String,
pub aliases: Vec<PackageAlias>,
}Fields§
§root: String§aliases: Vec<PackageAlias>Trait Implementations§
Source§impl Clone for RequirementPath
impl Clone for RequirementPath
Source§fn clone(&self) -> RequirementPath
fn clone(&self) -> RequirementPath
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 RequirementPath
impl Debug for RequirementPath
Source§impl<'de> Deserialize<'de> for RequirementPath
impl<'de> Deserialize<'de> for RequirementPath
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 Display for RequirementPath
impl Display for RequirementPath
impl Eq for RequirementPath
Source§impl Ord for RequirementPath
impl Ord for RequirementPath
Source§fn cmp(&self, other: &RequirementPath) -> Ordering
fn cmp(&self, other: &RequirementPath) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequirementPath
impl PartialEq for RequirementPath
Source§impl PartialOrd for RequirementPath
impl PartialOrd for RequirementPath
Source§impl Serialize for RequirementPath
impl Serialize for RequirementPath
impl StructuralPartialEq for RequirementPath
Auto Trait Implementations§
impl Freeze for RequirementPath
impl RefUnwindSafe for RequirementPath
impl Send for RequirementPath
impl Sync for RequirementPath
impl Unpin for RequirementPath
impl UnsafeUnpin for RequirementPath
impl UnwindSafe for RequirementPath
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.