Struct rebuilderd_common::config::ConfigFile
source · pub struct ConfigFile {
pub http: HttpConfig,
pub auth: AuthConfig,
pub endpoints: HashMap<String, EndpointConfig>,
pub worker: WorkerConfig,
pub schedule: ScheduleConfig,
}
Fields§
§http: HttpConfig
§auth: AuthConfig
§endpoints: HashMap<String, EndpointConfig>
§worker: WorkerConfig
§schedule: ScheduleConfig
Implementations§
source§impl ConfigFile
impl ConfigFile
pub fn update(&mut self, c: ConfigFile)
Trait Implementations§
source§impl Clone for ConfigFile
impl Clone for ConfigFile
source§fn clone(&self) -> ConfigFile
fn clone(&self) -> ConfigFile
Returns a copy 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 ConfigFile
impl Debug for ConfigFile
source§impl Default for ConfigFile
impl Default for ConfigFile
source§fn default() -> ConfigFile
fn default() -> ConfigFile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigFile
impl<'de> Deserialize<'de> for ConfigFile
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 RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnwindSafe for ConfigFile
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