Struct proto_pdk_api::LocateExecutablesOutput
source · pub struct LocateExecutablesOutput {
pub globals_lookup_dirs: Vec<String>,
pub globals_prefix: Option<String>,
pub primary: Option<ExecutableConfig>,
pub secondary: FxHashMap<String, ExecutableConfig>,
}
Expand description
Output returned by the locate_executables
function.
Fields§
§globals_lookup_dirs: Vec<String>
List of directory paths to find the globals installation directory. Each path supports environment variable expansion.
globals_prefix: Option<String>
A string that all global binaries are prefixed with, and will be removed when listing and filtering available globals.
primary: Option<ExecutableConfig>
Configures the primary/default executable to create. If not provided, a primary shim and binary will not be created.
secondary: FxHashMap<String, ExecutableConfig>
Configures secondary/additional executables to create. The map key is the name of the shim/binary file.
Trait Implementations§
source§impl Clone for LocateExecutablesOutput
impl Clone for LocateExecutablesOutput
source§fn clone(&self) -> LocateExecutablesOutput
fn clone(&self) -> LocateExecutablesOutput
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 LocateExecutablesOutput
impl Debug for LocateExecutablesOutput
source§impl Default for LocateExecutablesOutput
impl Default for LocateExecutablesOutput
source§fn default() -> LocateExecutablesOutput
fn default() -> LocateExecutablesOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocateExecutablesOutputwhere
LocateExecutablesOutput: Default,
impl<'de> Deserialize<'de> for LocateExecutablesOutputwhere
LocateExecutablesOutput: 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 LocateExecutablesOutput
impl PartialEq for LocateExecutablesOutput
source§fn eq(&self, other: &LocateExecutablesOutput) -> bool
fn eq(&self, other: &LocateExecutablesOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LocateExecutablesOutput
impl Serialize for LocateExecutablesOutput
impl StructuralPartialEq for LocateExecutablesOutput
Auto Trait Implementations§
impl Freeze for LocateExecutablesOutput
impl RefUnwindSafe for LocateExecutablesOutput
impl Send for LocateExecutablesOutput
impl Sync for LocateExecutablesOutput
impl Unpin for LocateExecutablesOutput
impl UnwindSafe for LocateExecutablesOutput
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