pub enum TemplateFormatArg {
Markdown,
Json,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TemplateFormatArg
impl Clone for TemplateFormatArg
Source§fn clone(&self) -> TemplateFormatArg
fn clone(&self) -> TemplateFormatArg
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 TemplateFormatArg
impl Debug for TemplateFormatArg
Source§impl PartialEq for TemplateFormatArg
impl PartialEq for TemplateFormatArg
Source§fn eq(&self, other: &TemplateFormatArg) -> bool
fn eq(&self, other: &TemplateFormatArg) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TemplateFormatArg
impl Serialize for TemplateFormatArg
Source§impl ValueEnum for TemplateFormatArg
impl ValueEnum for TemplateFormatArg
impl Copy for TemplateFormatArg
impl Eq for TemplateFormatArg
impl StructuralPartialEq for TemplateFormatArg
Auto Trait Implementations§
impl Freeze for TemplateFormatArg
impl RefUnwindSafe for TemplateFormatArg
impl Send for TemplateFormatArg
impl Sync for TemplateFormatArg
impl Unpin for TemplateFormatArg
impl UnsafeUnpin for TemplateFormatArg
impl UnwindSafe for TemplateFormatArg
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.