pub enum FileFormat {
Properties,
Yaml,
Toml,
Json,
}Expand description
Configuration file format 配置文件格式
Equivalent to Spring Boot’s supported configuration formats. 等价于Spring Boot支持的配置格式。
Variants§
Properties
Properties file format Properties文件格式
Yaml
YAML file format YAML文件格式
Toml
TOML file format TOML文件格式
Json
JSON file format JSON文件格式
Implementations§
Source§impl FileFormat
impl FileFormat
Trait Implementations§
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
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 FileFormat
Source§impl Debug for FileFormat
impl Debug for FileFormat
impl Eq for FileFormat
Source§impl PartialEq for FileFormat
impl PartialEq for FileFormat
Source§fn eq(&self, other: &FileFormat) -> bool
fn eq(&self, other: &FileFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnsafeUnpin for FileFormat
impl UnwindSafe for FileFormat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.