Struct winreg::reg_key_metadata::RegKeyMetadata
source · pub struct RegKeyMetadata {
pub sub_keys: u32,
pub max_sub_key_len: u32,
pub max_class_len: u32,
pub values: u32,
pub max_value_name_len: u32,
pub max_value_len: u32,
pub last_write_time: FileTime,
}
Expand description
Metadata returned by RegKey::query_info
Fields§
§sub_keys: u32
§max_sub_key_len: u32
§max_class_len: u32
§values: u32
§max_value_name_len: u32
§max_value_len: u32
§last_write_time: FileTime
Implementations§
source§impl RegKeyMetadata
impl RegKeyMetadata
sourcepub fn get_last_write_time_system(&self) -> SYSTEMTIME
pub fn get_last_write_time_system(&self) -> SYSTEMTIME
Returns last_write_time
field as windows_sys::Win32::Foundation::SYSTEMTIME
sourcepub fn get_last_write_time_chrono(&self) -> NaiveDateTime
pub fn get_last_write_time_chrono(&self) -> NaiveDateTime
Returns last_write_time
field as chrono::NaiveDateTime
.
Part of chrono
feature.
Trait Implementations§
source§impl Debug for RegKeyMetadata
impl Debug for RegKeyMetadata
source§impl Default for RegKeyMetadata
impl Default for RegKeyMetadata
source§fn default() -> RegKeyMetadata
fn default() -> RegKeyMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RegKeyMetadata
impl Send for RegKeyMetadata
impl Sync for RegKeyMetadata
impl Unpin for RegKeyMetadata
impl UnwindSafe for RegKeyMetadata
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