#[non_exhaustive]pub struct WinRegValue {Show 13 fields
pub data: Option<Value>,
pub is_default: Option<bool>,
pub is_system: Option<bool>,
pub modified_time: Option<i64>,
pub modified_time_dt: Option<String>,
pub name: Option<String>,
pub path: Option<String>,
pub reg_binary_data: Option<String>,
pub reg_integer_data: Option<i64>,
pub reg_string_data: Option<String>,
pub reg_string_list_data: Option<Vec<String>>,
pub type: Option<String>,
pub type_id: Option<i64>,
}Expand description
Registry Value
The registry value object describes a Windows registry value.
[] Category: | Name: reg_value
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data: Option<Value>Data
The data of the registry value. Where the value type is known, implementers should instead use a type-specific attribute, i.e. reg_binary_data, reg_integer_data, reg_string_data, or reg_string_list_data.
optional
is_default: Option<bool>Default Value
The indication of whether the value is from a default value name. For example, the value name could be missing.
optional
is_system: Option<bool>System
The indication of whether the object is part of the operating system.
optional
modified_time: Option<i64>Modified Time
The time when the registry value was last modified.
optional
modified_time_dt: Option<String>Modified Time
The time when the registry value was last modified.
optional
name: Option<String>Name
The name of the registry value.
required
path: Option<String>Path
The full path to the registry key, where the value is located.
required
reg_binary_data: Option<String>Registry Binary Data
The data of the registry value when type_id is REG_BINARY or REG_NONE.
optional
reg_integer_data: Option<i64>Registry Integer Data
The data of the registry value when type_id is REG_DWORD, REG_DWORD_BIG_ENDIAN, or REG_QWORD.
optional
reg_string_data: Option<String>Registry String Data
The data of the registry value when type_id is REG_SZ, REG_EXPAND_SZ, or REG_LINK.
optional
reg_string_list_data: Option<Vec<String>>Registry String List Data
The data of the registry value when type_id is REG_MULTI_SZ.
optional
type: Option<String>§type_id: Option<i64>Type ID
The value type ID.
recommended
Trait Implementations§
Source§impl Clone for WinRegValue
impl Clone for WinRegValue
Source§fn clone(&self) -> WinRegValue
fn clone(&self) -> WinRegValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more