pub enum RenderFormat {
Text,
Json,
}Expand description
A rendering format.
Variants§
Trait Implementations§
Source§impl Clone for RenderFormat
impl Clone for RenderFormat
Source§fn clone(&self) -> RenderFormat
fn clone(&self) -> RenderFormat
Returns a copy 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 PartialEq for RenderFormat
impl PartialEq for RenderFormat
Source§impl ValueEnum for RenderFormat
impl ValueEnum 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.