pub enum WmiValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
DateTime(String),
Array(Vec<WmiValue>),
Object(Vec<(String, WmiValue)>),
}Expand description
Um valor do WMI: uma propriedade de um objeto, já no tipo do CIM.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
DateTime(String)
Data e hora local em ISO (2026-11-12T08:30:00), do CIM_DATETIME (wmi_datetime).
Array(Vec<WmiValue>)
Uma lista (CIM_FLAG_ARRAY: os IPs de uma placa de rede).
Object(Vec<(String, WmiValue)>)
Um objeto embutido (o TargetInstance de um evento): nome e valor de cada propriedade.
Trait Implementations§
impl StructuralPartialEq for WmiValue
Auto Trait Implementations§
impl Forget for WmiValue
impl Freeze for WmiValuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<WmiValue>: Freeze,
PhantomData<(String, WmiValue)>: Freeze,
impl Move for WmiValue
impl RefUnwindSafe for WmiValue
impl Send for WmiValuewhere
RawVecInner: Send,
impl Sync for WmiValuewhere
RawVecInner: Sync,
impl Unpin for WmiValue
impl UnsafeUnpin for WmiValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<WmiValue>: UnsafeUnpin,
PhantomData<(String, WmiValue)>: UnsafeUnpin,
impl UnwindSafe for WmiValuewhere
RawVecInner: UnwindSafe,
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