pub enum RenderFormat {
Default,
ShortIds,
Markdown,
}Expand description
Render format for context output
Variants§
Default
Default format
ShortIds
Use short IDs (1, 2, 3…) for token efficiency
Markdown
Render as markdown
Implementations§
Trait Implementations§
Source§impl Clone for RenderFormat
impl Clone for RenderFormat
Source§fn clone(&self) -> RenderFormat
fn clone(&self) -> RenderFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderFormat
impl Debug for RenderFormat
Source§impl Default for RenderFormat
impl Default for RenderFormat
Source§fn default() -> RenderFormat
fn default() -> RenderFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RenderFormat
impl<'de> Deserialize<'de> for RenderFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RenderFormat
impl PartialEq for RenderFormat
Source§impl Serialize for RenderFormat
impl Serialize for RenderFormat
impl Copy for RenderFormat
impl Eq for RenderFormat
impl StructuralPartialEq for RenderFormat
Auto Trait Implementations§
impl Freeze for RenderFormat
impl RefUnwindSafe for RenderFormat
impl Send for RenderFormat
impl Sync for RenderFormat
impl Unpin for RenderFormat
impl UnwindSafe for RenderFormat
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