pub struct BiomeMenuItemSource<'a> { /* private fields */ }Expand description
A BiomeMenuItemSource wraps decoded Apple Biome App.MenuItem records.
Each record captures a deliberate menu-bar selection: the application name
and the exact text of the chosen item. Records without a menu_item text
are skipped — they carry no actionable label.
Stored in SEGB container files under
~/Library/Biome/streams/restricted/App.MenuItem/local (macOS Tahoe 26+).
Validation caveat: the segb-core protobuf field numbers for this
stream are inferred from published research; validation against a real
macOS Tahoe 26 sample is pending. See segb-core/docs/validation.md.
Implementations§
Source§impl<'a> BiomeMenuItemSource<'a>
impl<'a> BiomeMenuItemSource<'a>
Sourcepub fn new(records: &'a [AppMenuItemRecord], actor: Option<&str>) -> Self
pub fn new(records: &'a [AppMenuItemRecord], actor: Option<&str>) -> Self
Wrap decoded App.MenuItem records, attributing them to a user when known.
Trait Implementations§
Source§impl ActivitySource for BiomeMenuItemSource<'_>
impl ActivitySource for BiomeMenuItemSource<'_>
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 BiomeMenuItemSource<'a>
impl<'a> RefUnwindSafe for BiomeMenuItemSource<'a>
impl<'a> Send for BiomeMenuItemSource<'a>
impl<'a> Sync for BiomeMenuItemSource<'a>
impl<'a> Unpin for BiomeMenuItemSource<'a>
impl<'a> UnsafeUnpin for BiomeMenuItemSource<'a>
impl<'a> UnwindSafe for BiomeMenuItemSource<'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