Struct proto_pdk_api::BuildInstructionsOutput
source · pub struct BuildInstructionsOutput {
pub help_url: Option<String>,
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.
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 copy 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<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 PartialEq for BuildInstructionsOutput
impl PartialEq for BuildInstructionsOutput
source§fn eq(&self, other: &BuildInstructionsOutput) -> bool
fn eq(&self, other: &BuildInstructionsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BuildInstructionsOutput
impl Serialize for BuildInstructionsOutput
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 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