pub enum FormatValue {
Prompt,
Markdown,
Json,
}Variants§
Trait Implementations§
Source§impl Clone for FormatValue
impl Clone for FormatValue
Source§fn clone(&self) -> FormatValue
fn clone(&self) -> FormatValue
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 moreSource§impl Debug for FormatValue
impl Debug for FormatValue
Source§impl From<FormatValue> for OutputFormat
impl From<FormatValue> for OutputFormat
Source§fn from(value: FormatValue) -> Self
fn from(value: FormatValue) -> Self
Converts to this type from the input type.
Source§impl ValueEnum for FormatValue
impl ValueEnum for FormatValue
impl Copy for FormatValue
Auto Trait Implementations§
impl Freeze for FormatValue
impl RefUnwindSafe for FormatValue
impl Send for FormatValue
impl Sync for FormatValue
impl Unpin for FormatValue
impl UnsafeUnpin for FormatValue
impl UnwindSafe for FormatValue
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