pub enum ConfigValueType {
Bool {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Uint8 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Uint16 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Uint32 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Uint64 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Int8 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Int16 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Int32 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Int64 {
mutability: Option<Vec<ConfigRuntimeSource>>,
},
String {
max_size: NonZeroU32,
mutability: Option<Vec<ConfigRuntimeSource>>,
},
Vector {
max_count: NonZeroU32,
element: ConfigNestedValueType,
mutability: Option<Vec<ConfigRuntimeSource>>,
},
}
Variants§
Bool
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Uint8
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Uint16
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Uint32
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Uint64
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Int8
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Int16
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Int32
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
Int64
Fields
§
mutability: Option<Vec<ConfigRuntimeSource>>
String
Vector
Fields
§
max_count: NonZeroU32
§
element: ConfigNestedValueType
§
mutability: Option<Vec<ConfigRuntimeSource>>
Implementations§
Source§impl ConfigValueType
impl ConfigValueType
Sourcepub fn update_digest(&self, hasher: &mut impl Digest)
pub fn update_digest(&self, hasher: &mut impl Digest)
Update the hasher by digesting the ConfigValueType enum value
Trait Implementations§
Source§impl Clone for ConfigValueType
impl Clone for ConfigValueType
Source§fn clone(&self) -> ConfigValueType
fn clone(&self) -> ConfigValueType
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 ConfigValueType
impl Debug for ConfigValueType
Source§impl<'de> Deserialize<'de> for ConfigValueType
impl<'de> Deserialize<'de> for ConfigValueType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ConfigValueType> for ConfigValueType
impl From<ConfigValueType> for ConfigValueType
Source§fn from(value: ConfigValueType) -> Self
fn from(value: ConfigValueType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigValueType
impl PartialEq for ConfigValueType
Source§impl Serialize for ConfigValueType
impl Serialize for ConfigValueType
impl StructuralPartialEq for ConfigValueType
Auto Trait Implementations§
impl Freeze for ConfigValueType
impl RefUnwindSafe for ConfigValueType
impl Send for ConfigValueType
impl Sync for ConfigValueType
impl Unpin for ConfigValueType
impl UnwindSafe for ConfigValueType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)