pub struct LoggingFields(/* private fields */);

Implementations§

§

impl LoggingFields

pub fn new() -> Result<Self>

pub fn Clear(&self) -> Result<()>

pub fn BeginStruct(&self, name: &HSTRING) -> Result<()>

pub fn BeginStructWithTags(&self, name: &HSTRING, tags: i32) -> Result<()>

pub fn EndStruct(&self) -> Result<()>

pub fn AddEmpty(&self, name: &HSTRING) -> Result<()>

pub fn AddEmptyWithFormat( &self, name: &HSTRING, format: LoggingFieldFormat ) -> Result<()>

pub fn AddEmptyWithFormatAndTags( &self, name: &HSTRING, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt8(&self, name: &HSTRING, value: u8) -> Result<()>

pub fn AddUInt8WithFormat( &self, name: &HSTRING, value: u8, format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt8WithFormatAndTags( &self, name: &HSTRING, value: u8, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt8Array(&self, name: &HSTRING, value: &[u8]) -> Result<()>

pub fn AddUInt8ArrayWithFormat( &self, name: &HSTRING, value: &[u8], format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt8ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u8], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt16(&self, name: &HSTRING, value: i16) -> Result<()>

pub fn AddInt16WithFormat( &self, name: &HSTRING, value: i16, format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt16WithFormatAndTags( &self, name: &HSTRING, value: i16, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt16Array(&self, name: &HSTRING, value: &[i16]) -> Result<()>

pub fn AddInt16ArrayWithFormat( &self, name: &HSTRING, value: &[i16], format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i16], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt16(&self, name: &HSTRING, value: u16) -> Result<()>

pub fn AddUInt16WithFormat( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt16WithFormatAndTags( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt16Array(&self, name: &HSTRING, value: &[u16]) -> Result<()>

pub fn AddUInt16ArrayWithFormat( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt32(&self, name: &HSTRING, value: i32) -> Result<()>

pub fn AddInt32WithFormat( &self, name: &HSTRING, value: i32, format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt32WithFormatAndTags( &self, name: &HSTRING, value: i32, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt32Array(&self, name: &HSTRING, value: &[i32]) -> Result<()>

pub fn AddInt32ArrayWithFormat( &self, name: &HSTRING, value: &[i32], format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt32ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i32], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt32(&self, name: &HSTRING, value: u32) -> Result<()>

pub fn AddUInt32WithFormat( &self, name: &HSTRING, value: u32, format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt32WithFormatAndTags( &self, name: &HSTRING, value: u32, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt32Array(&self, name: &HSTRING, value: &[u32]) -> Result<()>

pub fn AddUInt32ArrayWithFormat( &self, name: &HSTRING, value: &[u32], format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt32ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u32], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt64(&self, name: &HSTRING, value: i64) -> Result<()>

pub fn AddInt64WithFormat( &self, name: &HSTRING, value: i64, format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt64WithFormatAndTags( &self, name: &HSTRING, value: i64, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddInt64Array(&self, name: &HSTRING, value: &[i64]) -> Result<()>

pub fn AddInt64ArrayWithFormat( &self, name: &HSTRING, value: &[i64], format: LoggingFieldFormat ) -> Result<()>

pub fn AddInt64ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[i64], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt64(&self, name: &HSTRING, value: u64) -> Result<()>

pub fn AddUInt64WithFormat( &self, name: &HSTRING, value: u64, format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt64WithFormatAndTags( &self, name: &HSTRING, value: u64, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddUInt64Array(&self, name: &HSTRING, value: &[u64]) -> Result<()>

pub fn AddUInt64ArrayWithFormat( &self, name: &HSTRING, value: &[u64], format: LoggingFieldFormat ) -> Result<()>

pub fn AddUInt64ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u64], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddSingle(&self, name: &HSTRING, value: f32) -> Result<()>

pub fn AddSingleWithFormat( &self, name: &HSTRING, value: f32, format: LoggingFieldFormat ) -> Result<()>

pub fn AddSingleWithFormatAndTags( &self, name: &HSTRING, value: f32, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddSingleArray(&self, name: &HSTRING, value: &[f32]) -> Result<()>

pub fn AddSingleArrayWithFormat( &self, name: &HSTRING, value: &[f32], format: LoggingFieldFormat ) -> Result<()>

pub fn AddSingleArrayWithFormatAndTags( &self, name: &HSTRING, value: &[f32], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddDouble(&self, name: &HSTRING, value: f64) -> Result<()>

pub fn AddDoubleWithFormat( &self, name: &HSTRING, value: f64, format: LoggingFieldFormat ) -> Result<()>

pub fn AddDoubleWithFormatAndTags( &self, name: &HSTRING, value: f64, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddDoubleArray(&self, name: &HSTRING, value: &[f64]) -> Result<()>

pub fn AddDoubleArrayWithFormat( &self, name: &HSTRING, value: &[f64], format: LoggingFieldFormat ) -> Result<()>

pub fn AddDoubleArrayWithFormatAndTags( &self, name: &HSTRING, value: &[f64], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddChar16(&self, name: &HSTRING, value: u16) -> Result<()>

pub fn AddChar16WithFormat( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat ) -> Result<()>

pub fn AddChar16WithFormatAndTags( &self, name: &HSTRING, value: u16, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddChar16Array(&self, name: &HSTRING, value: &[u16]) -> Result<()>

pub fn AddChar16ArrayWithFormat( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat ) -> Result<()>

pub fn AddChar16ArrayWithFormatAndTags( &self, name: &HSTRING, value: &[u16], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddBoolean(&self, name: &HSTRING, value: bool) -> Result<()>

pub fn AddBooleanWithFormat( &self, name: &HSTRING, value: bool, format: LoggingFieldFormat ) -> Result<()>

pub fn AddBooleanWithFormatAndTags( &self, name: &HSTRING, value: bool, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddBooleanArray(&self, name: &HSTRING, value: &[bool]) -> Result<()>

pub fn AddBooleanArrayWithFormat( &self, name: &HSTRING, value: &[bool], format: LoggingFieldFormat ) -> Result<()>

pub fn AddBooleanArrayWithFormatAndTags( &self, name: &HSTRING, value: &[bool], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddString(&self, name: &HSTRING, value: &HSTRING) -> Result<()>

pub fn AddStringWithFormat( &self, name: &HSTRING, value: &HSTRING, format: LoggingFieldFormat ) -> Result<()>

pub fn AddStringWithFormatAndTags( &self, name: &HSTRING, value: &HSTRING, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddStringArray(&self, name: &HSTRING, value: &[HSTRING]) -> Result<()>

pub fn AddStringArrayWithFormat( &self, name: &HSTRING, value: &[HSTRING], format: LoggingFieldFormat ) -> Result<()>

pub fn AddStringArrayWithFormatAndTags( &self, name: &HSTRING, value: &[HSTRING], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddGuid(&self, name: &HSTRING, value: GUID) -> Result<()>

pub fn AddGuidWithFormat( &self, name: &HSTRING, value: GUID, format: LoggingFieldFormat ) -> Result<()>

pub fn AddGuidWithFormatAndTags( &self, name: &HSTRING, value: GUID, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddGuidArray(&self, name: &HSTRING, value: &[GUID]) -> Result<()>

pub fn AddGuidArrayWithFormat( &self, name: &HSTRING, value: &[GUID], format: LoggingFieldFormat ) -> Result<()>

pub fn AddGuidArrayWithFormatAndTags( &self, name: &HSTRING, value: &[GUID], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddDateTime(&self, name: &HSTRING, value: DateTime) -> Result<()>

pub fn AddDateTimeWithFormat( &self, name: &HSTRING, value: DateTime, format: LoggingFieldFormat ) -> Result<()>

pub fn AddDateTimeWithFormatAndTags( &self, name: &HSTRING, value: DateTime, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddDateTimeArray(&self, name: &HSTRING, value: &[DateTime]) -> Result<()>

pub fn AddDateTimeArrayWithFormat( &self, name: &HSTRING, value: &[DateTime], format: LoggingFieldFormat ) -> Result<()>

pub fn AddDateTimeArrayWithFormatAndTags( &self, name: &HSTRING, value: &[DateTime], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddTimeSpan(&self, name: &HSTRING, value: TimeSpan) -> Result<()>

pub fn AddTimeSpanWithFormat( &self, name: &HSTRING, value: TimeSpan, format: LoggingFieldFormat ) -> Result<()>

pub fn AddTimeSpanWithFormatAndTags( &self, name: &HSTRING, value: TimeSpan, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddTimeSpanArray(&self, name: &HSTRING, value: &[TimeSpan]) -> Result<()>

pub fn AddTimeSpanArrayWithFormat( &self, name: &HSTRING, value: &[TimeSpan], format: LoggingFieldFormat ) -> Result<()>

pub fn AddTimeSpanArrayWithFormatAndTags( &self, name: &HSTRING, value: &[TimeSpan], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddPoint(&self, name: &HSTRING, value: Point) -> Result<()>

pub fn AddPointWithFormat( &self, name: &HSTRING, value: Point, format: LoggingFieldFormat ) -> Result<()>

pub fn AddPointWithFormatAndTags( &self, name: &HSTRING, value: Point, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddPointArray(&self, name: &HSTRING, value: &[Point]) -> Result<()>

pub fn AddPointArrayWithFormat( &self, name: &HSTRING, value: &[Point], format: LoggingFieldFormat ) -> Result<()>

pub fn AddPointArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Point], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddSize(&self, name: &HSTRING, value: Size) -> Result<()>

pub fn AddSizeWithFormat( &self, name: &HSTRING, value: Size, format: LoggingFieldFormat ) -> Result<()>

pub fn AddSizeWithFormatAndTags( &self, name: &HSTRING, value: Size, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddSizeArray(&self, name: &HSTRING, value: &[Size]) -> Result<()>

pub fn AddSizeArrayWithFormat( &self, name: &HSTRING, value: &[Size], format: LoggingFieldFormat ) -> Result<()>

pub fn AddSizeArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Size], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddRect(&self, name: &HSTRING, value: Rect) -> Result<()>

pub fn AddRectWithFormat( &self, name: &HSTRING, value: Rect, format: LoggingFieldFormat ) -> Result<()>

pub fn AddRectWithFormatAndTags( &self, name: &HSTRING, value: Rect, format: LoggingFieldFormat, tags: i32 ) -> Result<()>

pub fn AddRectArray(&self, name: &HSTRING, value: &[Rect]) -> Result<()>

pub fn AddRectArrayWithFormat( &self, name: &HSTRING, value: &[Rect], format: LoggingFieldFormat ) -> Result<()>

pub fn AddRectArrayWithFormatAndTags( &self, name: &HSTRING, value: &[Rect], format: LoggingFieldFormat, tags: i32 ) -> Result<()>

Trait Implementations§

§

impl Clone for LoggingFields

§

fn clone(&self) -> LoggingFields

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 Debug for LoggingFields

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<&LoggingFields> for &IInspectable

§

fn from(value: &LoggingFields) -> Self

Converts to this type from the input type.
§

impl From<&LoggingFields> for &IUnknown

§

fn from(value: &LoggingFields) -> Self

Converts to this type from the input type.
§

impl From<LoggingFields> for IInspectable

§

fn from(value: LoggingFields) -> Self

Converts to this type from the input type.
§

impl From<LoggingFields> for IUnknown

§

fn from(value: LoggingFields) -> Self

Converts to this type from the input type.
§

impl Interface for LoggingFields

§

fn as_raw(&self) -> *mut c_void

Returns the raw COM interface pointer. The resulting pointer continues to be owned by the Interface implementation.
§

fn into_raw(self) -> *mut c_void

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

impl PartialEq for LoggingFields

§

fn eq(&self, other: &LoggingFields) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for LoggingFields

§

impl Send for LoggingFields

§

impl StructuralPartialEq for LoggingFields

§

impl Sync for LoggingFields

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.

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.