Struct windows::Management::Update::WindowsUpdate
pub struct WindowsUpdate(/* private fields */);
Implementations§
§impl WindowsUpdate
impl WindowsUpdate
pub fn ProviderId(&self) -> Result<HSTRING>
pub fn UpdateId(&self) -> Result<HSTRING>
pub fn Title(&self) -> Result<HSTRING>
pub fn Description(&self) -> Result<HSTRING>
pub fn IsFeatureUpdate(&self) -> Result<bool>
pub fn IsMinorImpact(&self) -> Result<bool>
pub fn IsSecurity(&self) -> Result<bool>
pub fn IsCritical(&self) -> Result<bool>
pub fn IsForOS(&self) -> Result<bool>
pub fn IsDriver(&self) -> Result<bool>
pub fn IsMandatory(&self) -> Result<bool>
pub fn IsUrgent(&self) -> Result<bool>
pub fn IsSeeker(&self) -> Result<bool>
pub fn MoreInfoUrl(&self) -> Result<Uri>
pub fn SupportUrl(&self) -> Result<Uri>
pub fn IsEulaAccepted(&self) -> Result<bool>
pub fn EulaText(&self) -> Result<HSTRING>
pub fn Deadline(&self) -> Result<IReference<DateTime>>
pub fn AttentionRequiredInfo( &self, ) -> Result<WindowsUpdateAttentionRequiredInfo>
pub fn ActionResult(&self) -> Result<WindowsUpdateActionResult>
pub fn CurrentAction(&self) -> Result<HSTRING>
pub fn ActionProgress(&self) -> Result<WindowsUpdateActionProgress>
pub fn GetPropertyValue(&self, propertyname: &HSTRING) -> Result<IInspectable>
pub fn AcceptEula(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IInspectable> for WindowsUpdate
impl CanInto<IInspectable> for WindowsUpdate
§impl CanInto<IUnknown> for WindowsUpdate
impl CanInto<IUnknown> for WindowsUpdate
§impl Clone for WindowsUpdate
impl Clone for WindowsUpdate
§fn clone(&self) -> WindowsUpdate
fn clone(&self) -> WindowsUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for WindowsUpdate
impl Debug for WindowsUpdate
§impl From<&WindowsUpdate> for &IInspectable
impl From<&WindowsUpdate> for &IInspectable
§fn from(value: &WindowsUpdate) -> Self
fn from(value: &WindowsUpdate) -> Self
Converts to this type from the input type.
§impl From<&WindowsUpdate> for &IUnknown
impl From<&WindowsUpdate> for &IUnknown
§fn from(value: &WindowsUpdate) -> Self
fn from(value: &WindowsUpdate) -> Self
Converts to this type from the input type.
§impl From<WindowsUpdate> for IInspectable
impl From<WindowsUpdate> for IInspectable
§fn from(value: WindowsUpdate) -> Self
fn from(value: WindowsUpdate) -> Self
Converts to this type from the input type.
§impl From<WindowsUpdate> for IUnknown
impl From<WindowsUpdate> for IUnknown
§fn from(value: WindowsUpdate) -> Self
fn from(value: WindowsUpdate) -> Self
Converts to this type from the input type.
§impl Interface for WindowsUpdate
impl Interface for WindowsUpdate
§const IID: GUID = <IWindowsUpdate as windows_core::Interface>::IID
const IID: GUID = <IWindowsUpdate as windows_core::Interface>::IID
The
GUID
associated with the interface.§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 more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for WindowsUpdate
impl PartialEq for WindowsUpdate
§fn eq(&self, other: &WindowsUpdate) -> bool
fn eq(&self, other: &WindowsUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WindowsUpdate
impl Send for WindowsUpdate
impl StructuralPartialEq for WindowsUpdate
impl Sync for WindowsUpdate
Auto Trait Implementations§
impl Freeze for WindowsUpdate
impl RefUnwindSafe for WindowsUpdate
impl Unpin for WindowsUpdate
impl UnwindSafe for WindowsUpdate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)