Struct proto_pdk_api::NativeInstallInput
source · pub struct NativeInstallInput {
pub context: ToolContext,
pub install_dir: VirtualPath,
}
Expand description
Input passed to the native_install
function.
Fields§
§context: ToolContext
Current tool context.
install_dir: VirtualPath
Virtual directory to install to.
Trait Implementations§
source§impl Clone for NativeInstallInput
impl Clone for NativeInstallInput
source§fn clone(&self) -> NativeInstallInput
fn clone(&self) -> NativeInstallInput
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 NativeInstallInput
impl Debug for NativeInstallInput
source§impl Default for NativeInstallInput
impl Default for NativeInstallInput
source§fn default() -> NativeInstallInput
fn default() -> NativeInstallInput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NativeInstallInputwhere
NativeInstallInput: Default,
impl<'de> Deserialize<'de> for NativeInstallInputwhere
NativeInstallInput: 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 NativeInstallInput
impl PartialEq for NativeInstallInput
source§fn eq(&self, other: &NativeInstallInput) -> bool
fn eq(&self, other: &NativeInstallInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NativeInstallInput
impl Serialize for NativeInstallInput
impl StructuralPartialEq for NativeInstallInput
Auto Trait Implementations§
impl Freeze for NativeInstallInput
impl RefUnwindSafe for NativeInstallInput
impl Send for NativeInstallInput
impl Sync for NativeInstallInput
impl Unpin for NativeInstallInput
impl UnwindSafe for NativeInstallInput
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