pub type InheritableStringOrBool = InheritableField<StringOrBool>;
Aliased Type§
enum InheritableStringOrBool {
Value(StringOrBool),
Inherit(TomlInheritedField),
}
Variants§
Value(StringOrBool)
The type that is used when not inheriting from a workspace.
Inherit(TomlInheritedField)
The type when inheriting from a workspace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InheritableStringOrBool
impl<'de> Deserialize<'de> for InheritableStringOrBool
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
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:
Value
: 24 bytesInherit
: 0 bytes