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