Union windows::Win32::System::EventLog::EVT_VARIANT_0

#[repr(C)]
pub union EVT_VARIANT_0 {
Show 40 fields pub BooleanVal: BOOL, pub SByteVal: i8, pub Int16Val: i16, pub Int32Val: i32, pub Int64Val: i64, pub ByteVal: u8, pub UInt16Val: u16, pub UInt32Val: u32, pub UInt64Val: u64, pub SingleVal: f32, pub DoubleVal: f64, pub FileTimeVal: u64, pub SysTimeVal: *mut SYSTEMTIME, pub GuidVal: *mut GUID, pub StringVal: PCWSTR, pub AnsiStringVal: PCSTR, pub BinaryVal: *mut u8, pub SidVal: PSID, pub SizeTVal: usize, pub BooleanArr: *mut BOOL, pub SByteArr: *mut i8, pub Int16Arr: *mut i16, pub Int32Arr: *mut i32, pub Int64Arr: *mut i64, pub ByteArr: *mut u8, pub UInt16Arr: *mut u16, pub UInt32Arr: *mut u32, pub UInt64Arr: *mut u64, pub SingleArr: *mut f32, pub DoubleArr: *mut f64, pub FileTimeArr: *mut FILETIME, pub SysTimeArr: *mut SYSTEMTIME, pub GuidArr: *mut GUID, pub StringArr: *mut PWSTR, pub AnsiStringArr: *mut PSTR, pub SidArr: *mut PSID, pub SizeTArr: *mut usize, pub EvtHandleVal: EVT_HANDLE, pub XmlVal: PCWSTR, pub XmlValArr: *const PCWSTR,
}

Fields§

§BooleanVal: BOOL§SByteVal: i8§Int16Val: i16§Int32Val: i32§Int64Val: i64§ByteVal: u8§UInt16Val: u16§UInt32Val: u32§UInt64Val: u64§SingleVal: f32§DoubleVal: f64§FileTimeVal: u64§SysTimeVal: *mut SYSTEMTIME§GuidVal: *mut GUID§StringVal: PCWSTR§AnsiStringVal: PCSTR§BinaryVal: *mut u8§SidVal: PSID§SizeTVal: usize§BooleanArr: *mut BOOL§SByteArr: *mut i8§Int16Arr: *mut i16§Int32Arr: *mut i32§Int64Arr: *mut i64§ByteArr: *mut u8§UInt16Arr: *mut u16§UInt32Arr: *mut u32§UInt64Arr: *mut u64§SingleArr: *mut f32§DoubleArr: *mut f64§FileTimeArr: *mut FILETIME§SysTimeArr: *mut SYSTEMTIME§GuidArr: *mut GUID§StringArr: *mut PWSTR§AnsiStringArr: *mut PSTR§SidArr: *mut PSID§SizeTArr: *mut usize§EvtHandleVal: EVT_HANDLE§XmlVal: PCWSTR§XmlValArr: *const PCWSTR

Trait Implementations§

§

impl Clone for EVT_VARIANT_0

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for EVT_VARIANT_0

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl Copy for EVT_VARIANT_0

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.