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