Struct cargo::util::toml::IntermediateDependency
source · pub struct IntermediateDependency<P = String> {Show 18 fields
workspace: Option<bool>,
version: Option<String>,
registry: Option<String>,
registry_index: Option<String>,
path: Option<P>,
git: Option<String>,
branch: Option<String>,
tag: Option<String>,
rev: Option<String>,
features: Option<Vec<String>>,
optional: Option<bool>,
default_features: Option<bool>,
default_features2: Option<bool>,
package: Option<String>,
public: Option<bool>,
artifact: Option<StringOrVec>,
lib: Option<bool>,
target: Option<String>,
}
Fields§
§workspace: Option<bool>
§version: Option<String>
§registry: Option<String>
§registry_index: Option<String>
§path: Option<P>
§git: Option<String>
§branch: Option<String>
§tag: Option<String>
§rev: Option<String>
§features: Option<Vec<String>>
§optional: Option<bool>
§default_features: Option<bool>
§default_features2: Option<bool>
§package: Option<String>
§public: Option<bool>
§artifact: Option<StringOrVec>
§lib: Option<bool>
§target: Option<String>
Trait Implementations§
source§impl<P: Debug> Debug for IntermediateDependency<P>
impl<P: Debug> Debug for IntermediateDependency<P>
source§impl<'de, P> Deserialize<'de> for IntermediateDependency<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for IntermediateDependency<P>where
P: Deserialize<'de>,
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
Auto Trait Implementations§
impl<P> RefUnwindSafe for IntermediateDependency<P>where
P: RefUnwindSafe,
impl<P> Send for IntermediateDependency<P>where
P: Send,
impl<P> Sync for IntermediateDependency<P>where
P: Sync,
impl<P> Unpin for IntermediateDependency<P>where
P: Unpin,
impl<P> UnwindSafe for IntermediateDependency<P>where
P: UnwindSafe,
Blanket Implementations§
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.