pub struct LoadedControllerConfig {
pub service_name: Option<String>,
pub initially_enabled: Option<bool>,
pub activation_template: ControllerActivationTemplate,
}Expand description
Parsed controller config loaded from a TOML file.
Fields§
§service_name: Option<String>Optional service name override.
initially_enabled: Option<bool>Optional initially-enabled flag.
activation_template: ControllerActivationTemplateActivation template loaded from config.
Trait Implementations§
Source§impl Clone for LoadedControllerConfig
impl Clone for LoadedControllerConfig
Source§fn clone(&self) -> LoadedControllerConfig
fn clone(&self) -> LoadedControllerConfig
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 moreSource§impl Debug for LoadedControllerConfig
impl Debug for LoadedControllerConfig
Source§impl PartialEq for LoadedControllerConfig
impl PartialEq for LoadedControllerConfig
Source§fn eq(&self, other: &LoadedControllerConfig) -> bool
fn eq(&self, other: &LoadedControllerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LoadedControllerConfig
impl StructuralPartialEq for LoadedControllerConfig
Auto Trait Implementations§
impl Freeze for LoadedControllerConfig
impl RefUnwindSafe for LoadedControllerConfig
impl Send for LoadedControllerConfig
impl Sync for LoadedControllerConfig
impl Unpin for LoadedControllerConfig
impl UnsafeUnpin for LoadedControllerConfig
impl UnwindSafe for LoadedControllerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.