pub enum SerializeType {
yaml,
json,
}
Variants§
Trait Implementations§
source§impl Clone for SerializeType
impl Clone for SerializeType
source§fn clone(&self) -> SerializeType
fn clone(&self) -> SerializeType
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 SerializeType
impl Debug for SerializeType
source§impl From<OutputType> for SerializeType
impl From<OutputType> for SerializeType
source§fn from(output: OutputType) -> Self
fn from(output: OutputType) -> Self
Converts to this type from the input type.
source§impl PartialEq for SerializeType
impl PartialEq for SerializeType
source§fn eq(&self, other: &SerializeType) -> bool
fn eq(&self, other: &SerializeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for SerializeType
impl ValueEnum for SerializeType
impl Eq for SerializeType
impl StructuralPartialEq for SerializeType
Auto Trait Implementations§
impl Freeze for SerializeType
impl RefUnwindSafe for SerializeType
impl Send for SerializeType
impl Sync for SerializeType
impl Unpin for SerializeType
impl UnwindSafe for SerializeType
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<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.