[][src]Struct winreg::RegKeyMetadata

pub struct RegKeyMetadata {
    pub sub_keys: DWORD,
    pub max_sub_key_len: DWORD,
    pub max_class_len: DWORD,
    pub values: DWORD,
    pub max_value_name_len: DWORD,
    pub max_value_len: DWORD,
    pub last_write_time: FILETIME,
}

Metadata returned by RegKey::query_info

Fields

sub_keys: DWORDmax_sub_key_len: DWORDmax_class_len: DWORDvalues: DWORDmax_value_name_len: DWORDmax_value_len: DWORDlast_write_time: FILETIME

Methods

impl RegKeyMetadata[src]

pub fn get_last_write_time_system(&self) -> SYSTEMTIME[src]

Returns last_write_time field as winapi::um::minwinbase::SYSTEMTIME

pub fn get_last_write_time_chrono(&self) -> NaiveDateTime[src]

Returns last_write_time field as chrono::NaiveDateTime. Part of chrono feature.

Trait Implementations

impl Default for RegKeyMetadata[src]

impl Debug for RegKeyMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]