pub enum FrontEnd {
Tui,
Mcp,
Other(String),
}Expand description
Which front end made a change or a record: written into the ledger and the audit log, so one front end’s view lists another’s changes as theirs.
It is written as its name, a string; a name this release doesn’t know
(a later release’s front end) loads as FrontEnd::Other and is
written back as it was, so the entry survives a save unchanged.
Variants§
Tui
The terminal UI; what a ledger written before #2068 holds.
Mcp
The MCP server.
Other(String)
A front end this release doesn’t know, by the name it was written with: its entries still load, and revert like any other.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FrontEnd
impl<'de> Deserialize<'de> for FrontEnd
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontEnd
impl StructuralPartialEq for FrontEnd
Auto Trait Implementations§
impl Freeze for FrontEnd
impl RefUnwindSafe for FrontEnd
impl Send for FrontEnd
impl Sync for FrontEnd
impl Unpin for FrontEnd
impl UnsafeUnpin for FrontEnd
impl UnwindSafe for FrontEnd
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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