pub enum HistoryEntry {
Sanitized {
role: String,
body: String,
},
Literal {
role: String,
body: String,
},
}Expand description
One projected visible-history fallback entry (D3).
Variants§
Sanitized
Visible host content that portable rendering must still sanitize.
Literal
An already-final baseline marker line that must not be sanitized again.
Trait Implementations§
Source§impl Clone for HistoryEntry
impl Clone for HistoryEntry
Source§impl Debug for HistoryEntry
impl Debug for HistoryEntry
impl Eq for HistoryEntry
Source§impl PartialEq for HistoryEntry
impl PartialEq for HistoryEntry
impl StructuralPartialEq for HistoryEntry
Auto Trait Implementations§
impl Forget for HistoryEntry
impl Freeze for HistoryEntry
impl Move for HistoryEntry
impl RefUnwindSafe for HistoryEntry
impl Send for HistoryEntry
impl Sync for HistoryEntry
impl Unpin for HistoryEntry
impl UnsafeUnpin for HistoryEntry
impl UnwindSafe for HistoryEntry
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.