Struct proto_pdk_api::CreateShimsOutput
source · pub struct CreateShimsOutput {
pub no_primary_global: bool,
pub primary: Option<ShimConfig>,
pub global_shims: HashMap<String, ShimConfig>,
pub local_shims: HashMap<String, ShimConfig>,
}
Expand description
Output returned by the create_shims
function.
Fields§
§no_primary_global: bool
Avoid creating the global shim.
primary: Option<ShimConfig>
Configures the default/primary global shim.
global_shims: HashMap<String, ShimConfig>
Additional global shims to create in the ~/.proto/bin
directory.
Maps a shim name to a relative binary path.
local_shims: HashMap<String, ShimConfig>
Local shims to create in the ~/.proto/tools/<id>/<version>/shims
directory.
Maps a shim name to its configuration.
Trait Implementations§
source§impl Clone for CreateShimsOutput
impl Clone for CreateShimsOutput
source§fn clone(&self) -> CreateShimsOutput
fn clone(&self) -> CreateShimsOutput
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 CreateShimsOutput
impl Debug for CreateShimsOutput
source§impl Default for CreateShimsOutput
impl Default for CreateShimsOutput
source§fn default() -> CreateShimsOutput
fn default() -> CreateShimsOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateShimsOutputwhere
CreateShimsOutput: Default,
impl<'de> Deserialize<'de> for CreateShimsOutputwhere CreateShimsOutput: 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 CreateShimsOutput
impl PartialEq for CreateShimsOutput
source§fn eq(&self, other: &CreateShimsOutput) -> bool
fn eq(&self, other: &CreateShimsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateShimsOutput
impl Serialize for CreateShimsOutput
impl Eq for CreateShimsOutput
impl StructuralEq for CreateShimsOutput
impl StructuralPartialEq for CreateShimsOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateShimsOutput
impl Send for CreateShimsOutput
impl Sync for CreateShimsOutput
impl Unpin for CreateShimsOutput
impl UnwindSafe for CreateShimsOutput
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