Trait windows::Win32::System::Wmi::ISWbemDateTime_Impl

pub trait ISWbemDateTime_Impl: Sized + IDispatch_Impl {
Show 40 methods // Required methods fn Value(&self) -> Result<BSTR>; fn SetValue(&self, strvalue: &BSTR) -> Result<()>; fn Year(&self) -> Result<i32>; fn SetYear(&self, iyear: i32) -> Result<()>; fn YearSpecified(&self) -> Result<VARIANT_BOOL>; fn SetYearSpecified(&self, byearspecified: VARIANT_BOOL) -> Result<()>; fn Month(&self) -> Result<i32>; fn SetMonth(&self, imonth: i32) -> Result<()>; fn MonthSpecified(&self) -> Result<VARIANT_BOOL>; fn SetMonthSpecified(&self, bmonthspecified: VARIANT_BOOL) -> Result<()>; fn Day(&self) -> Result<i32>; fn SetDay(&self, iday: i32) -> Result<()>; fn DaySpecified(&self) -> Result<VARIANT_BOOL>; fn SetDaySpecified(&self, bdayspecified: VARIANT_BOOL) -> Result<()>; fn Hours(&self) -> Result<i32>; fn SetHours(&self, ihours: i32) -> Result<()>; fn HoursSpecified(&self) -> Result<VARIANT_BOOL>; fn SetHoursSpecified(&self, bhoursspecified: VARIANT_BOOL) -> Result<()>; fn Minutes(&self) -> Result<i32>; fn SetMinutes(&self, iminutes: i32) -> Result<()>; fn MinutesSpecified(&self) -> Result<VARIANT_BOOL>; fn SetMinutesSpecified(&self, bminutesspecified: VARIANT_BOOL) -> Result<()>; fn Seconds(&self) -> Result<i32>; fn SetSeconds(&self, iseconds: i32) -> Result<()>; fn SecondsSpecified(&self) -> Result<VARIANT_BOOL>; fn SetSecondsSpecified(&self, bsecondsspecified: VARIANT_BOOL) -> Result<()>; fn Microseconds(&self) -> Result<i32>; fn SetMicroseconds(&self, imicroseconds: i32) -> Result<()>; fn MicrosecondsSpecified(&self) -> Result<VARIANT_BOOL>; fn SetMicrosecondsSpecified( &self, bmicrosecondsspecified: VARIANT_BOOL, ) -> Result<()>; fn UTC(&self) -> Result<i32>; fn SetUTC(&self, iutc: i32) -> Result<()>; fn UTCSpecified(&self) -> Result<VARIANT_BOOL>; fn SetUTCSpecified(&self, butcspecified: VARIANT_BOOL) -> Result<()>; fn IsInterval(&self) -> Result<VARIANT_BOOL>; fn SetIsInterval(&self, bisinterval: VARIANT_BOOL) -> Result<()>; fn GetVarDate(&self, bislocal: VARIANT_BOOL) -> Result<f64>; fn SetVarDate(&self, dvardate: f64, bislocal: VARIANT_BOOL) -> Result<()>; fn GetFileTime(&self, bislocal: VARIANT_BOOL) -> Result<BSTR>; fn SetFileTime( &self, strfiletime: &BSTR, bislocal: VARIANT_BOOL, ) -> Result<()>;
}

Required Methods§

fn Value(&self) -> Result<BSTR>

fn SetValue(&self, strvalue: &BSTR) -> Result<()>

fn Year(&self) -> Result<i32>

fn SetYear(&self, iyear: i32) -> Result<()>

fn YearSpecified(&self) -> Result<VARIANT_BOOL>

fn SetYearSpecified(&self, byearspecified: VARIANT_BOOL) -> Result<()>

fn Month(&self) -> Result<i32>

fn SetMonth(&self, imonth: i32) -> Result<()>

fn MonthSpecified(&self) -> Result<VARIANT_BOOL>

fn SetMonthSpecified(&self, bmonthspecified: VARIANT_BOOL) -> Result<()>

fn Day(&self) -> Result<i32>

fn SetDay(&self, iday: i32) -> Result<()>

fn DaySpecified(&self) -> Result<VARIANT_BOOL>

fn SetDaySpecified(&self, bdayspecified: VARIANT_BOOL) -> Result<()>

fn Hours(&self) -> Result<i32>

fn SetHours(&self, ihours: i32) -> Result<()>

fn HoursSpecified(&self) -> Result<VARIANT_BOOL>

fn SetHoursSpecified(&self, bhoursspecified: VARIANT_BOOL) -> Result<()>

fn Minutes(&self) -> Result<i32>

fn SetMinutes(&self, iminutes: i32) -> Result<()>

fn MinutesSpecified(&self) -> Result<VARIANT_BOOL>

fn SetMinutesSpecified(&self, bminutesspecified: VARIANT_BOOL) -> Result<()>

fn Seconds(&self) -> Result<i32>

fn SetSeconds(&self, iseconds: i32) -> Result<()>

fn SecondsSpecified(&self) -> Result<VARIANT_BOOL>

fn SetSecondsSpecified(&self, bsecondsspecified: VARIANT_BOOL) -> Result<()>

fn Microseconds(&self) -> Result<i32>

fn SetMicroseconds(&self, imicroseconds: i32) -> Result<()>

fn MicrosecondsSpecified(&self) -> Result<VARIANT_BOOL>

fn SetMicrosecondsSpecified( &self, bmicrosecondsspecified: VARIANT_BOOL, ) -> Result<()>

fn UTC(&self) -> Result<i32>

fn SetUTC(&self, iutc: i32) -> Result<()>

fn UTCSpecified(&self) -> Result<VARIANT_BOOL>

fn SetUTCSpecified(&self, butcspecified: VARIANT_BOOL) -> Result<()>

fn IsInterval(&self) -> Result<VARIANT_BOOL>

fn SetIsInterval(&self, bisinterval: VARIANT_BOOL) -> Result<()>

fn GetVarDate(&self, bislocal: VARIANT_BOOL) -> Result<f64>

fn SetVarDate(&self, dvardate: f64, bislocal: VARIANT_BOOL) -> Result<()>

fn GetFileTime(&self, bislocal: VARIANT_BOOL) -> Result<BSTR>

fn SetFileTime(&self, strfiletime: &BSTR, bislocal: VARIANT_BOOL) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§