Struct windows::Networking::Vpn::VpnCustomPromptOptionSelector
pub struct VpnCustomPromptOptionSelector(/* private fields */);
Implementations§
§impl VpnCustomPromptOptionSelector
impl VpnCustomPromptOptionSelector
pub fn new() -> Result<Self>
pub fn SetDisplayName(&self, value: &HSTRING) -> Result<()>
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn SetCompulsory(&self, value: bool) -> Result<()>
pub fn Compulsory(&self) -> Result<bool>
pub fn SetEmphasized(&self, value: bool) -> Result<()>
pub fn Emphasized(&self) -> Result<bool>
pub fn Options(&self) -> Result<IVector<HSTRING>>
pub fn SelectedIndex(&self) -> Result<u32>
Trait Implementations§
§impl Clone for VpnCustomPromptOptionSelector
impl Clone for VpnCustomPromptOptionSelector
§fn clone(&self) -> VpnCustomPromptOptionSelector
fn clone(&self) -> VpnCustomPromptOptionSelector
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 VpnCustomPromptOptionSelector
impl Debug for VpnCustomPromptOptionSelector
§impl From<&VpnCustomPromptOptionSelector> for &IInspectable
impl From<&VpnCustomPromptOptionSelector> for &IInspectable
§fn from(value: &VpnCustomPromptOptionSelector) -> Self
fn from(value: &VpnCustomPromptOptionSelector) -> Self
Converts to this type from the input type.
§impl From<&VpnCustomPromptOptionSelector> for &IUnknown
impl From<&VpnCustomPromptOptionSelector> for &IUnknown
§fn from(value: &VpnCustomPromptOptionSelector) -> Self
fn from(value: &VpnCustomPromptOptionSelector) -> Self
Converts to this type from the input type.
§impl From<VpnCustomPromptOptionSelector> for IInspectable
impl From<VpnCustomPromptOptionSelector> for IInspectable
§fn from(value: VpnCustomPromptOptionSelector) -> Self
fn from(value: VpnCustomPromptOptionSelector) -> Self
Converts to this type from the input type.
§impl From<VpnCustomPromptOptionSelector> for IUnknown
impl From<VpnCustomPromptOptionSelector> for IUnknown
§fn from(value: VpnCustomPromptOptionSelector) -> Self
fn from(value: VpnCustomPromptOptionSelector) -> Self
Converts to this type from the input type.
§impl Interface for VpnCustomPromptOptionSelector
impl Interface for VpnCustomPromptOptionSelector
§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§impl PartialEq for VpnCustomPromptOptionSelector
impl PartialEq for VpnCustomPromptOptionSelector
§fn eq(&self, other: &VpnCustomPromptOptionSelector) -> bool
fn eq(&self, other: &VpnCustomPromptOptionSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VpnCustomPromptOptionSelector
impl Send for VpnCustomPromptOptionSelector
impl StructuralPartialEq for VpnCustomPromptOptionSelector
impl Sync for VpnCustomPromptOptionSelector
Auto Trait Implementations§
impl RefUnwindSafe for VpnCustomPromptOptionSelector
impl Unpin for VpnCustomPromptOptionSelector
impl UnwindSafe for VpnCustomPromptOptionSelector
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