Struct proto_pdk_api::InstallGlobalInput
source · pub struct InstallGlobalInput {
pub context: ToolContext,
pub dependency: String,
pub globals_dir: VirtualPath,
}
Expand description
Input passed to the install_global
function.
Fields§
§context: ToolContext
Current tool context.
dependency: String
Name (and optional version) of the global dependency to install.
globals_dir: VirtualPath
Virtual path to the global’s installation directory.
Trait Implementations§
source§impl Clone for InstallGlobalInput
impl Clone for InstallGlobalInput
source§fn clone(&self) -> InstallGlobalInput
fn clone(&self) -> InstallGlobalInput
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 InstallGlobalInput
impl Debug for InstallGlobalInput
source§impl Default for InstallGlobalInput
impl Default for InstallGlobalInput
source§fn default() -> InstallGlobalInput
fn default() -> InstallGlobalInput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstallGlobalInputwhere
InstallGlobalInput: Default,
impl<'de> Deserialize<'de> for InstallGlobalInputwhere InstallGlobalInput: 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<InstallGlobalInput> for InstallGlobalInput
impl PartialEq<InstallGlobalInput> for InstallGlobalInput
source§fn eq(&self, other: &InstallGlobalInput) -> bool
fn eq(&self, other: &InstallGlobalInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InstallGlobalInput
impl Serialize for InstallGlobalInput
impl Eq for InstallGlobalInput
impl StructuralEq for InstallGlobalInput
impl StructuralPartialEq for InstallGlobalInput
Auto Trait Implementations§
impl RefUnwindSafe for InstallGlobalInput
impl Send for InstallGlobalInput
impl Sync for InstallGlobalInput
impl Unpin for InstallGlobalInput
impl UnwindSafe for InstallGlobalInput
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