pub struct PublishedDependency {
pub name: String,
pub req: String,
pub features: Vec<String>,
pub optional: bool,
pub default_features: bool,
pub target: Option<String>,
pub kind: String,
pub registry: Option<String>,
pub package: Option<String>,
}Fields§
§name: String§req: String§features: Vec<String>§optional: bool§default_features: bool§target: Option<String>§kind: String§registry: Option<String>§package: Option<String>Trait Implementations§
Source§impl Debug for PublishedDependency
impl Debug for PublishedDependency
Source§impl<'de> Deserialize<'de> for PublishedDependency
impl<'de> Deserialize<'de> for PublishedDependency
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 From<Dependency> for PublishedDependency
impl From<Dependency> for PublishedDependency
Source§fn from(dep: Dependency) -> Self
fn from(dep: Dependency) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PublishedDependency
impl PartialEq for PublishedDependency
Source§impl Serialize for PublishedDependency
impl Serialize for PublishedDependency
impl Eq for PublishedDependency
impl StructuralPartialEq for PublishedDependency
Auto Trait Implementations§
impl Freeze for PublishedDependency
impl RefUnwindSafe for PublishedDependency
impl Send for PublishedDependency
impl Sync for PublishedDependency
impl Unpin for PublishedDependency
impl UnwindSafe for PublishedDependency
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<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.