pub struct NuttConfig { /* private fields */ }
Implementations§
Source§impl NuttConfig
impl NuttConfig
pub fn new(name: &str, version: &str) -> Self
pub fn get_service_config(&self, name: &str) -> Option<ServiceConfig>
pub fn push_service_config(&mut self, name: &str, service_config: ServiceConfig)
Trait Implementations§
Source§impl Clone for NuttConfig
impl Clone for NuttConfig
Source§fn clone(&self) -> NuttConfig
fn clone(&self) -> NuttConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NuttConfig
impl Debug for NuttConfig
Source§impl<'de> Deserialize<'de> for NuttConfig
impl<'de> Deserialize<'de> for NuttConfig
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 NuttConfig
impl RefUnwindSafe for NuttConfig
impl Send for NuttConfig
impl Sync for NuttConfig
impl Unpin for NuttConfig
impl UnwindSafe for NuttConfig
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