pub enum HumanExportFormat {
Text,
Html,
}Expand description
core.session.export_format (§3.1): which rendering
render_transcript produces.
Variants§
Text
Plain text, one paragraph per message, role-labeled headers. The default.
Html
A minimal, dependency-free (no template engine) standalone HTML document — safe to open directly in a browser.
Implementations§
Source§impl HumanExportFormat
impl HumanExportFormat
Sourcepub fn parse(s: &str) -> Option<HumanExportFormat>
pub fn parse(s: &str) -> Option<HumanExportFormat>
Parse the "text" / "html" config strings (§3.1
core.session.export_format). Unrecognized input is None — the
caller decides the fail-safe fallback (mirrors
SteeringMode::parse’s contract).
Trait Implementations§
Source§impl Clone for HumanExportFormat
impl Clone for HumanExportFormat
Source§fn clone(&self) -> HumanExportFormat
fn clone(&self) -> HumanExportFormat
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 moreimpl Copy for HumanExportFormat
Source§impl Debug for HumanExportFormat
impl Debug for HumanExportFormat
Source§impl Default for HumanExportFormat
impl Default for HumanExportFormat
Source§fn default() -> HumanExportFormat
fn default() -> HumanExportFormat
Returns the “default value” for a type. Read more
impl Eq for HumanExportFormat
Source§impl PartialEq for HumanExportFormat
impl PartialEq for HumanExportFormat
impl StructuralPartialEq for HumanExportFormat
Auto Trait Implementations§
impl Freeze for HumanExportFormat
impl RefUnwindSafe for HumanExportFormat
impl Send for HumanExportFormat
impl Sync for HumanExportFormat
impl Unpin for HumanExportFormat
impl UnsafeUnpin for HumanExportFormat
impl UnwindSafe for HumanExportFormat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.