Struct cargo_toml::Workspace
source · [−]pub struct Workspace<Metadata = Value> {
pub members: Vec<String>,
pub default_members: Vec<String>,
pub exclude: Vec<String>,
pub metadata: Option<Metadata>,
pub resolver: Option<Resolver>,
pub dependencies: DepsSet,
}
Fields
members: Vec<String>
default_members: Vec<String>
exclude: Vec<String>
metadata: Option<Metadata>
resolver: Option<Resolver>
dependencies: DepsSet
Trait Implementations
sourceimpl<'de, Metadata> Deserialize<'de> for Workspace<Metadata>where
Metadata: Deserialize<'de>,
impl<'de, Metadata> Deserialize<'de> for Workspace<Metadata>where
Metadata: Deserialize<'de>,
sourcefn 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
sourceimpl<Metadata: PartialEq> PartialEq<Workspace<Metadata>> for Workspace<Metadata>
impl<Metadata: PartialEq> PartialEq<Workspace<Metadata>> for Workspace<Metadata>
impl<Metadata: Eq> Eq for Workspace<Metadata>
impl<Metadata> StructuralEq for Workspace<Metadata>
impl<Metadata> StructuralPartialEq for Workspace<Metadata>
Auto Trait Implementations
impl<Metadata> RefUnwindSafe for Workspace<Metadata>where
Metadata: RefUnwindSafe,
impl<Metadata> Send for Workspace<Metadata>where
Metadata: Send,
impl<Metadata> Sync for Workspace<Metadata>where
Metadata: Sync,
impl<Metadata> Unpin for Workspace<Metadata>where
Metadata: Unpin,
impl<Metadata> UnwindSafe for Workspace<Metadata>where
Metadata: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more