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