# Type Alias cargo::util::toml::schema::MaybeWorkspaceVecString

source ·

    pub type MaybeWorkspaceVecString = MaybeWorkspace<Vec<String>, TomlWorkspaceField>;

## Aliased Type§

    enum MaybeWorkspaceVecString {
        Defined(Vec<String>),
        Workspace(TomlWorkspaceField),
    }

## Variants§

§

### Defined(Vec<String>)

The “defined” type, or the type that that is used when not inheriting from a workspace.

§

### Workspace(TomlWorkspaceField)

The type when inheriting from a workspace.

## Trait Implementations§

source§

### impl<'de> Deserialize<'de> for MaybeWorkspaceVecString

source§

#### fn deserialize<D>(d: D) -> Result<Self, D::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes

Size for each variant:

- `Defined`: 24 bytes
- `Workspace`: 9 bytes