pub struct LinkTargetIdList {
pub raw: Vec<u8>,
pub items: Vec<ShellItem>,
pub path: Option<String>,
}Expand description
The LinkTargetIDList ([MS-SHLLINK] §2.2) — the target’s shell-namespace
path as an ITEMIDLIST (PIDL). The raw blob is kept verbatim and also decoded
into typed shell items + a reconstructed path via the shellitem primitive.
Fields§
§raw: Vec<u8>The IDListSize-delimited ItemID blob, raw and verbatim.
items: Vec<ShellItem>The decoded shell items (volume, folder, file entry, …). Empty when the blob is truncated or carries no decodable item.
path: Option<String>The reconstructed shell-namespace path (e.g. My Computer\C:\…\evil.exe),
or None when no item yields a display name. This resolves the real
target even when the LinkInfo block is absent.
Trait Implementations§
Source§impl Clone for LinkTargetIdList
impl Clone for LinkTargetIdList
Source§fn clone(&self) -> LinkTargetIdList
fn clone(&self) -> LinkTargetIdList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinkTargetIdList
impl Debug for LinkTargetIdList
impl Eq for LinkTargetIdList
Source§impl PartialEq for LinkTargetIdList
impl PartialEq for LinkTargetIdList
Source§fn eq(&self, other: &LinkTargetIdList) -> bool
fn eq(&self, other: &LinkTargetIdList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinkTargetIdList
Auto Trait Implementations§
impl Freeze for LinkTargetIdList
impl RefUnwindSafe for LinkTargetIdList
impl Send for LinkTargetIdList
impl Sync for LinkTargetIdList
impl Unpin for LinkTargetIdList
impl UnsafeUnpin for LinkTargetIdList
impl UnwindSafe for LinkTargetIdList
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