Struct windows::Management::MdmAlert
pub struct MdmAlert(/* private fields */);
Implementations§
§impl MdmAlert
impl MdmAlert
pub fn new() -> Result<Self>
pub fn Data(&self) -> Result<HSTRING>
pub fn SetData(&self, value: &HSTRING) -> Result<()>
pub fn Format(&self) -> Result<MdmAlertDataType>
pub fn SetFormat(&self, value: MdmAlertDataType) -> Result<()>
pub fn Mark(&self) -> Result<MdmAlertMark>
pub fn SetMark(&self, value: MdmAlertMark) -> Result<()>
pub fn Source(&self) -> Result<HSTRING>
pub fn SetSource(&self, value: &HSTRING) -> Result<()>
pub fn Status(&self) -> Result<u32>
pub fn Target(&self) -> Result<HSTRING>
pub fn SetTarget(&self, value: &HSTRING) -> Result<()>
pub fn Type(&self) -> Result<HSTRING>
pub fn SetType(&self, value: &HSTRING) -> Result<()>
Trait Implementations§
§impl From<&MdmAlert> for &IInspectable
impl From<&MdmAlert> for &IInspectable
§impl From<MdmAlert> for IInspectable
impl From<MdmAlert> for IInspectable
§impl Interface for MdmAlert
impl Interface for MdmAlert
§fn as_raw(&self) -> *mut c_void
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
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.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for MdmAlert
impl StructuralPartialEq for MdmAlert
Auto Trait Implementations§
impl RefUnwindSafe for MdmAlert
impl !Send for MdmAlert
impl !Sync for MdmAlert
impl Unpin for MdmAlert
impl UnwindSafe for MdmAlert
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