pub enum FlockFormat {
Toml,
Yaml,
Json,
Json5,
}Expand description
Input format of a Flockfile
Variants§
Toml
Flockfile.toml — [[app]] tables
Yaml
.yaml/.yml
Json
Strict JSON
Json5
JSON5 (comments, trailing commas)
Implementations§
Trait Implementations§
Source§impl Clone for FlockFormat
impl Clone for FlockFormat
Source§fn clone(&self) -> FlockFormat
fn clone(&self) -> FlockFormat
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 moreimpl Copy for FlockFormat
Source§impl Debug for FlockFormat
impl Debug for FlockFormat
impl Eq for FlockFormat
Source§impl PartialEq for FlockFormat
impl PartialEq for FlockFormat
impl StructuralPartialEq for FlockFormat
Auto Trait Implementations§
impl Freeze for FlockFormat
impl RefUnwindSafe for FlockFormat
impl Send for FlockFormat
impl Sync for FlockFormat
impl Unpin for FlockFormat
impl UnsafeUnpin for FlockFormat
impl UnwindSafe for FlockFormat
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.