pub enum HeaderEntry {
File {
offset: Option<String>,
size: u64,
executable: Option<bool>,
unpacked: Option<bool>,
integrity: Option<HeaderIntegrity>,
},
Directory {
files: IndexMap<String, HeaderEntry>,
unpacked: Option<bool>,
},
Link {
link: String,
unpacked: Option<bool>,
},
}Expand description
A node in the ASAR archive header tree.
Represents a file, directory, or symbolic link entry.
Variants§
Trait Implementations§
Source§impl Debug for HeaderEntry
impl Debug for HeaderEntry
Source§impl<'de> Deserialize<'de> for HeaderEntry
impl<'de> Deserialize<'de> for HeaderEntry
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 From<&FilesystemEntry> for HeaderEntry
impl From<&FilesystemEntry> for HeaderEntry
Source§fn from(entry: &FilesystemEntry) -> Self
fn from(entry: &FilesystemEntry) -> Self
Converts to this type from the input type.
Source§impl Serialize for HeaderEntry
impl Serialize for HeaderEntry
Source§impl TryFrom<&HeaderEntry> for FilesystemEntry
impl TryFrom<&HeaderEntry> for FilesystemEntry
Auto Trait Implementations§
impl Freeze for HeaderEntry
impl RefUnwindSafe for HeaderEntry
impl Send for HeaderEntry
impl Sync for HeaderEntry
impl Unpin for HeaderEntry
impl UnsafeUnpin for HeaderEntry
impl UnwindSafe for HeaderEntry
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