pub struct ConfigValuesData {
pub values: Option<Vec<ConfigValueSpec>>,
pub checksum: Option<ConfigChecksum>,
}
Expand description
Contents of the configuration value file. Defines the base values for a component’s config.
Fields§
§values: Option<Vec<ConfigValueSpec>>
§checksum: Option<ConfigChecksum>
Trait Implementations§
Source§impl Clone for ConfigValuesData
impl Clone for ConfigValuesData
Source§fn clone(&self) -> ConfigValuesData
fn clone(&self) -> ConfigValuesData
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 ConfigValuesData
impl Debug for ConfigValuesData
Source§impl Encodable for ConfigValuesData
impl Encodable for ConfigValuesData
Source§type Encoded = WireConfigValuesData
type Encoded = WireConfigValuesData
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 ConfigValuesDatawhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for ConfigValuesDatawhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireConfigValuesData> for ConfigValuesData
impl TakeFrom<WireConfigValuesData> for ConfigValuesData
Source§fn take_from(from: &WireConfigValuesData) -> Self
fn take_from(from: &WireConfigValuesData) -> 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 ConfigValuesData
impl RefUnwindSafe for ConfigValuesData
impl Send for ConfigValuesData
impl Sync for ConfigValuesData
impl Unpin for ConfigValuesData
impl UnwindSafe for ConfigValuesData
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