pub struct ConfigOverride {
pub key: Option<String>,
pub value: Option<ConfigValue>,
}
Expand description
A directive to override the value of a particular configuration field in the child.
Fields§
§key: Option<String>
§value: Option<ConfigValue>
Trait Implementations§
Source§impl Clone for ConfigOverride
impl Clone for ConfigOverride
Source§fn clone(&self) -> ConfigOverride
fn clone(&self) -> ConfigOverride
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 ConfigOverride
impl Debug for ConfigOverride
Source§impl Encodable for ConfigOverride
impl Encodable for ConfigOverride
Source§type Encoded = WireConfigOverride
type Encoded = WireConfigOverride
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ConfigOverridewhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for ConfigOverridewhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireConfigOverride> for ConfigOverride
impl TakeFrom<WireConfigOverride> for ConfigOverride
Source§fn take_from(from: &WireConfigOverride) -> Self
fn take_from(from: &WireConfigOverride) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ConfigOverride
impl RefUnwindSafe for ConfigOverride
impl Send for ConfigOverride
impl Sync for ConfigOverride
impl Unpin 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