pub struct LnkSource<'a> { /* private fields */ }Expand description
A LnkSource wraps borrowed Windows Shell Link targets parsed by lnk-core.
Each ShellLink → an Action::Accessed
Subject::File whose path is the link’s local base path (or the network
target’s UNC name) and whose volume_serial is the VolumeID
DriveSerialNumber — the structured key that completes the device join. The
target’s last-write FILETIME becomes the activity timestamp.
Implementations§
Trait Implementations§
Source§impl ActivitySource for LnkSource<'_>
impl ActivitySource for LnkSource<'_>
Source§fn activities(&self) -> Vec<UserActivity>
fn activities(&self) -> Vec<UserActivity>
The activities this source contributes to the timeline.
Auto Trait Implementations§
impl<'a> Freeze for LnkSource<'a>
impl<'a> RefUnwindSafe for LnkSource<'a>
impl<'a> Send for LnkSource<'a>
impl<'a> Sync for LnkSource<'a>
impl<'a> Unpin for LnkSource<'a>
impl<'a> UnsafeUnpin for LnkSource<'a>
impl<'a> UnwindSafe for LnkSource<'a>
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