pub struct ConfigSchema {
pub fields: Option<Vec<ConfigField>>,
pub checksum: Option<ConfigChecksum>,
pub value_source: Option<ConfigValueSource>,
}
Expand description
The schema of a component’s configuration interface.
Fields§
§fields: Option<Vec<ConfigField>>
§checksum: Option<ConfigChecksum>
§value_source: Option<ConfigValueSource>
Trait Implementations§
Source§impl Clone for ConfigSchema
impl Clone for ConfigSchema
Source§fn clone(&self) -> ConfigSchema
fn clone(&self) -> ConfigSchema
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 ConfigSchema
impl Debug for ConfigSchema
Source§impl Encodable for ConfigSchema
impl Encodable for ConfigSchema
Source§type Encoded = WireConfigSchema
type Encoded = WireConfigSchema
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 ConfigSchemawhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for ConfigSchemawhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireConfigSchema> for ConfigSchema
impl TakeFrom<WireConfigSchema> for ConfigSchema
Source§fn take_from(from: &WireConfigSchema) -> Self
fn take_from(from: &WireConfigSchema) -> 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 ConfigSchema
impl RefUnwindSafe for ConfigSchema
impl Send for ConfigSchema
impl Sync for ConfigSchema
impl Unpin for ConfigSchema
impl UnwindSafe for ConfigSchema
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