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
Sourceยงfn eq(&self, other: &NamespaceKind) -> bool
fn eq(&self, other: &NamespaceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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