Struct bootstrap::config::TomlConfig
source · struct TomlConfig {
changelog_seen: Option<usize>,
change_id: Option<usize>,
build: Option<Build>,
install: Option<Install>,
llvm: Option<Llvm>,
rust: Option<Rust>,
target: Option<HashMap<String, TomlTarget>>,
dist: Option<Dist>,
profile: Option<String>,
}
Expand description
Structure of the config.toml
file that configuration is read from.
This structure uses Decodable
to automatically decode a TOML configuration
file into this format, and then this is traversed and written into the above
Config
structure.
Fields§
§changelog_seen: Option<usize>
§change_id: Option<usize>
§build: Option<Build>
§install: Option<Install>
§llvm: Option<Llvm>
§rust: Option<Rust>
§target: Option<HashMap<String, TomlTarget>>
§dist: Option<Dist>
§profile: Option<String>
Trait Implementations§
source§impl Default for TomlConfig
impl Default for TomlConfig
source§fn default() -> TomlConfig
fn default() -> TomlConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TomlConfig
impl<'de> Deserialize<'de> for TomlConfig
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
source§impl Merge for TomlConfig
impl Merge for TomlConfig
fn merge(&mut self, _: Self, replace: ReplaceOpt)
Auto Trait Implementations§
impl RefUnwindSafe for TomlConfig
impl Send for TomlConfig
impl Sync for TomlConfig
impl Unpin for TomlConfig
impl UnwindSafe for TomlConfig
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
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
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: 1584 bytes