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

source ·

    pub type MaybeWorkspaceBtreeMap = MaybeWorkspace<BTreeMap<String, BTreeMap<String, String>>, TomlWorkspaceField>;

## Aliased Type§

    enum MaybeWorkspaceBtreeMap {
        Defined(BTreeMap<String, BTreeMap<String, String>>),
        Workspace(TomlWorkspaceField),
    }

## Variants§

§

### Defined(BTreeMap<String, BTreeMap<String, 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 MaybeWorkspaceBtreeMap

source§

#### fn deserialize<D>(deserializer: 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: 32 bytes

Size for each variant:

- `Defined`: 31 bytes
- `Workspace`: 1 byte