pub struct BuildInstructionsOutput {
pub help_url: Option<String>,
pub http_headers: HashMap<String, String, FxBuildHasher>,
pub instructions: Vec<BuildInstruction>,
pub requirements: Vec<BuildRequirement>,
pub source: Option<SourceLocation>,
pub system_dependencies: Vec<SystemDependency>,
}Expand description
Output returned by the build_instructions function.
Fields§
§help_url: Option<String>Link to the documentation/help.
http_headers: HashMap<String, String, FxBuildHasher>A map of HTTP headers to include in all requests during the download phase.
instructions: Vec<BuildInstruction>List of instructions to execute to build the tool, after system dependencies have been installed.
requirements: Vec<BuildRequirement>List of requirements that must be met before dependencies are installed and instructions are executed.
source: Option<SourceLocation>Location in which to acquire the source files.
system_dependencies: Vec<SystemDependency>List of system dependencies that are required for building from source. If a dependency does not exist, it will be installed.
Trait Implementations§
Source§impl Clone for BuildInstructionsOutput
impl Clone for BuildInstructionsOutput
Source§fn clone(&self) -> BuildInstructionsOutput
fn clone(&self) -> BuildInstructionsOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildInstructionsOutput
impl Debug for BuildInstructionsOutput
Source§impl Default for BuildInstructionsOutput
impl Default for BuildInstructionsOutput
Source§fn default() -> BuildInstructionsOutput
fn default() -> BuildInstructionsOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BuildInstructionsOutputwhere
BuildInstructionsOutput: Default,
impl<'de> Deserialize<'de> for BuildInstructionsOutputwhere
BuildInstructionsOutput: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildInstructionsOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildInstructionsOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BuildInstructionsOutput
impl PartialEq for BuildInstructionsOutput
Source§impl Serialize for BuildInstructionsOutput
impl Serialize for BuildInstructionsOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BuildInstructionsOutput
Auto Trait Implementations§
impl Freeze for BuildInstructionsOutput
impl RefUnwindSafe for BuildInstructionsOutput
impl Send for BuildInstructionsOutput
impl Sync for BuildInstructionsOutput
impl Unpin for BuildInstructionsOutput
impl UnsafeUnpin for BuildInstructionsOutput
impl UnwindSafe for BuildInstructionsOutput
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