pub enum NamespaceKind {
Properties,
Xml,
Json,
Yaml,
Txt,
}Expand description
Kind of a configuration namespace.
Variants§
Implementations§
Source§impl NamespaceKind
impl NamespaceKind
Sourcepub fn infer_namespace_kind(namespace_name: &str) -> Self
pub fn infer_namespace_kind(namespace_name: &str) -> Self
Infer the configuration namespace kind.
Trait Implementations§
Source§impl Clone for NamespaceKind
impl Clone for NamespaceKind
Source§fn clone(&self) -> NamespaceKind
fn clone(&self) -> NamespaceKind
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 NamespaceKind
Source§impl Debug for NamespaceKind
impl Debug for NamespaceKind
Source§impl Display for NamespaceKind
impl Display for NamespaceKind
Source§impl PartialEq for NamespaceKind
impl PartialEq for NamespaceKind
impl StructuralPartialEq for NamespaceKind
Auto Trait Implementations§
impl Freeze for NamespaceKind
impl RefUnwindSafe for NamespaceKind
impl Send for NamespaceKind
impl Sync for NamespaceKind
impl Unpin for NamespaceKind
impl UnsafeUnpin for NamespaceKind
impl UnwindSafe for NamespaceKind
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