pub struct KanidmClientConfig {
pub default: KanidmClientConfigInstance,
pub instances: BTreeMap<String, KanidmClientConfigInstance>,
}
Expand description
This struct is what Kanidm uses for parsing the client configuration at runtime.
§Configuration file inheritance
The configuration files are loaded in order, with the last one loaded overriding the previous one.
- The “system” config is loaded from in [kanidm_proto::constants::DEFAULT_CLIENT_CONFIG_PATH].
- Then a per-user configuration, from [kanidm_proto::constants::DEFAULT_CLIENT_CONFIG_PATH_HOME] is loaded.
- All of these may be overridden by setting environment variables.
Fields§
§default: KanidmClientConfigInstance
§instances: BTreeMap<String, KanidmClientConfigInstance>
Trait Implementations§
source§impl Debug for KanidmClientConfig
impl Debug for KanidmClientConfig
source§impl<'de> Deserialize<'de> for KanidmClientConfig
impl<'de> Deserialize<'de> for KanidmClientConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KanidmClientConfig
impl RefUnwindSafe for KanidmClientConfig
impl Send for KanidmClientConfig
impl Sync for KanidmClientConfig
impl Unpin for KanidmClientConfig
impl UnwindSafe for KanidmClientConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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