pub struct PackResult {
pub archive_path: PathBuf,
pub sha256: String,
pub name: String,
pub version: String,
pub file_count: usize,
pub uncompressed_bytes: u64,
}Expand description
Result of packing a plugin directory into an archive.
Fields§
§archive_path: PathBufPath to the created .ic.zip file.
sha256: StringSHA-256 hex digest of the archive bytes.
name: StringPlugin name from the manifest.
version: StringPlugin version from the manifest.
file_count: usizeNumber of files included in the archive.
uncompressed_bytes: u64Total uncompressed size in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PackResult
impl RefUnwindSafe for PackResult
impl Send for PackResult
impl Sync for PackResult
impl Unpin for PackResult
impl UnsafeUnpin for PackResult
impl UnwindSafe for PackResult
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