Struct cargo_toml::InheritedDependencyDetail
source · pub struct InheritedDependencyDetail {
pub features: Vec<String>,
pub optional: bool,
pub workspace: bool,
}
Expand description
When a dependency is defined as { workspace = true }
,
and workspace data hasn’t been applied yet.
Fields§
§features: Vec<String>
§optional: bool
§workspace: bool
Trait Implementations§
source§impl Clone for InheritedDependencyDetail
impl Clone for InheritedDependencyDetail
source§fn clone(&self) -> InheritedDependencyDetail
fn clone(&self) -> InheritedDependencyDetail
Returns a copy of the value. Read more
1.0.0 · 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 InheritedDependencyDetail
impl Debug for InheritedDependencyDetail
source§impl Default for InheritedDependencyDetail
impl Default for InheritedDependencyDetail
source§fn default() -> InheritedDependencyDetail
fn default() -> InheritedDependencyDetail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InheritedDependencyDetail
impl<'de> Deserialize<'de> for InheritedDependencyDetail
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
impl Eq for InheritedDependencyDetail
impl StructuralPartialEq for InheritedDependencyDetail
Auto Trait Implementations§
impl Freeze for InheritedDependencyDetail
impl RefUnwindSafe for InheritedDependencyDetail
impl Send for InheritedDependencyDetail
impl Sync for InheritedDependencyDetail
impl Unpin for InheritedDependencyDetail
impl UnwindSafe for InheritedDependencyDetail
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.