pub struct ConfigOverride {
pub module: Vec<String>,
pub name: String,
pub value: ConfigValue,
pub key_span: Span,
pub value_span: Span,
}Expand description
One override from [config.<module path>].
Fields§
§module: Vec<String>The module path, for example ["users", "storage"].
name: StringThe constant name.
value: ConfigValueThe new value.
key_span: SpanThe key in the manifest.
value_span: SpanThe value in the manifest.
Trait Implementations§
Source§impl Clone for ConfigOverride
impl Clone for ConfigOverride
Source§impl Debug for ConfigOverride
impl Debug for ConfigOverride
Source§impl PartialEq for ConfigOverride
impl PartialEq for ConfigOverride
impl StructuralPartialEq for ConfigOverride
Auto Trait Implementations§
impl Freeze for ConfigOverride
impl RefUnwindSafe for ConfigOverride
impl Send for ConfigOverride
impl Sync for ConfigOverride
impl Unpin for ConfigOverride
impl UnsafeUnpin for ConfigOverride
impl UnwindSafe for ConfigOverride
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