pub struct DeviceAccountConfiguration(/* private fields */);
Implementations§
§impl DeviceAccountConfiguration
impl DeviceAccountConfiguration
pub fn new() -> Result<Self>
pub fn AccountName(&self) -> Result<HSTRING>
pub fn SetAccountName(&self, value: &HSTRING) -> Result<()>
pub fn DeviceAccountTypeId(&self) -> Result<HSTRING>
pub fn SetDeviceAccountTypeId(&self, value: &HSTRING) -> Result<()>
pub fn ServerType(&self) -> Result<DeviceAccountServerType>
pub fn SetServerType(&self, value: DeviceAccountServerType) -> Result<()>
pub fn EmailAddress(&self) -> Result<HSTRING>
pub fn SetEmailAddress(&self, value: &HSTRING) -> Result<()>
pub fn Domain(&self) -> Result<HSTRING>
pub fn SetDomain(&self, value: &HSTRING) -> Result<()>
pub fn EmailSyncEnabled(&self) -> Result<bool>
pub fn SetEmailSyncEnabled(&self, value: bool) -> Result<()>
pub fn ContactsSyncEnabled(&self) -> Result<bool>
pub fn SetContactsSyncEnabled(&self, value: bool) -> Result<()>
pub fn CalendarSyncEnabled(&self) -> Result<bool>
pub fn SetCalendarSyncEnabled(&self, value: bool) -> Result<()>
pub fn IncomingServerAddress(&self) -> Result<HSTRING>
pub fn SetIncomingServerAddress(&self, value: &HSTRING) -> Result<()>
pub fn IncomingServerPort(&self) -> Result<i32>
pub fn SetIncomingServerPort(&self, value: i32) -> Result<()>
pub fn IncomingServerRequiresSsl(&self) -> Result<bool>
pub fn SetIncomingServerRequiresSsl(&self, value: bool) -> Result<()>
pub fn IncomingServerUsername(&self) -> Result<HSTRING>
pub fn SetIncomingServerUsername(&self, value: &HSTRING) -> Result<()>
pub fn OutgoingServerAddress(&self) -> Result<HSTRING>
pub fn SetOutgoingServerAddress(&self, value: &HSTRING) -> Result<()>
pub fn OutgoingServerPort(&self) -> Result<i32>
pub fn SetOutgoingServerPort(&self, value: i32) -> Result<()>
pub fn OutgoingServerRequiresSsl(&self) -> Result<bool>
pub fn SetOutgoingServerRequiresSsl(&self, value: bool) -> Result<()>
pub fn OutgoingServerUsername(&self) -> Result<HSTRING>
pub fn SetOutgoingServerUsername(&self, value: &HSTRING) -> Result<()>
pub fn IncomingServerCredential(&self) -> Result<PasswordCredential>
pub fn SetIncomingServerCredential<P0>(&self, value: P0) -> Result<()>where
P0: Param<PasswordCredential>,
pub fn OutgoingServerCredential(&self) -> Result<PasswordCredential>
pub fn SetOutgoingServerCredential<P0>(&self, value: P0) -> Result<()>where
P0: Param<PasswordCredential>,
pub fn OAuthRefreshToken(&self) -> Result<HSTRING>
pub fn SetOAuthRefreshToken(&self, value: &HSTRING) -> Result<()>
pub fn IsExternallyManaged(&self) -> Result<bool>
pub fn SetIsExternallyManaged(&self, value: bool) -> Result<()>
pub fn AccountIconId(&self) -> Result<DeviceAccountIconId>
pub fn SetAccountIconId(&self, value: DeviceAccountIconId) -> Result<()>
pub fn AuthenticationType(&self) -> Result<DeviceAccountAuthenticationType>
pub fn SetAuthenticationType( &self, value: DeviceAccountAuthenticationType, ) -> Result<()>
pub fn IsSsoAuthenticationSupported(&self) -> Result<bool>
pub fn SsoAccountId(&self) -> Result<HSTRING>
pub fn SetSsoAccountId(&self, value: &HSTRING) -> Result<()>
pub fn AlwaysDownloadFullMessage(&self) -> Result<bool>
pub fn SetAlwaysDownloadFullMessage(&self, value: bool) -> Result<()>
pub fn DoesPolicyAllowMailSync(&self) -> Result<bool>
pub fn SyncScheduleKind(&self) -> Result<DeviceAccountSyncScheduleKind>
pub fn SetSyncScheduleKind( &self, value: DeviceAccountSyncScheduleKind, ) -> Result<()>
pub fn MailAgeFilter(&self) -> Result<DeviceAccountMailAgeFilter>
pub fn SetMailAgeFilter(&self, value: DeviceAccountMailAgeFilter) -> Result<()>
pub fn IsClientAuthenticationCertificateRequired(&self) -> Result<bool>
pub fn SetIsClientAuthenticationCertificateRequired( &self, value: bool, ) -> Result<()>
pub fn AutoSelectAuthenticationCertificate(&self) -> Result<bool>
pub fn SetAutoSelectAuthenticationCertificate(&self, value: bool) -> Result<()>
pub fn AuthenticationCertificateId(&self) -> Result<HSTRING>
pub fn SetAuthenticationCertificateId(&self, value: &HSTRING) -> Result<()>
pub fn CardDavSyncScheduleKind(&self) -> Result<DeviceAccountSyncScheduleKind>
pub fn SetCardDavSyncScheduleKind( &self, value: DeviceAccountSyncScheduleKind, ) -> Result<()>
pub fn CalDavSyncScheduleKind(&self) -> Result<DeviceAccountSyncScheduleKind>
pub fn SetCalDavSyncScheduleKind( &self, value: DeviceAccountSyncScheduleKind, ) -> Result<()>
pub fn CardDavServerUrl(&self) -> Result<Uri>
pub fn SetCardDavServerUrl<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn CardDavRequiresSsl(&self) -> Result<bool>
pub fn SetCardDavRequiresSsl(&self, value: bool) -> Result<()>
pub fn CalDavServerUrl(&self) -> Result<Uri>
pub fn SetCalDavServerUrl<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn CalDavRequiresSsl(&self) -> Result<bool>
pub fn SetCalDavRequiresSsl(&self, value: bool) -> Result<()>
pub fn WasModifiedByUser(&self) -> Result<bool>
pub fn SetWasModifiedByUser(&self, value: bool) -> Result<()>
pub fn WasIncomingServerCertificateHashConfirmed(&self) -> Result<bool>
pub fn SetWasIncomingServerCertificateHashConfirmed( &self, value: bool, ) -> Result<()>
pub fn IncomingServerCertificateHash(&self) -> Result<HSTRING>
pub fn SetIncomingServerCertificateHash(&self, value: &HSTRING) -> Result<()>
pub fn IsOutgoingServerAuthenticationRequired(&self) -> Result<bool>
pub fn SetIsOutgoingServerAuthenticationRequired( &self, value: bool, ) -> Result<()>
pub fn IsOutgoingServerAuthenticationEnabled(&self) -> Result<bool>
pub fn SetIsOutgoingServerAuthenticationEnabled( &self, value: bool, ) -> Result<()>
pub fn WasOutgoingServerCertificateHashConfirmed(&self) -> Result<bool>
pub fn SetWasOutgoingServerCertificateHashConfirmed( &self, value: bool, ) -> Result<()>
pub fn OutgoingServerCertificateHash(&self) -> Result<HSTRING>
pub fn SetOutgoingServerCertificateHash(&self, value: &HSTRING) -> Result<()>
pub fn IsSyncScheduleManagedBySystem(&self) -> Result<bool>
pub fn SetIsSyncScheduleManagedBySystem(&self, value: bool) -> Result<()>
Trait Implementations§
§impl CanInto<IInspectable> for DeviceAccountConfiguration
impl CanInto<IInspectable> for DeviceAccountConfiguration
§impl CanInto<IUnknown> for DeviceAccountConfiguration
impl CanInto<IUnknown> for DeviceAccountConfiguration
§impl Clone for DeviceAccountConfiguration
impl Clone for DeviceAccountConfiguration
§fn clone(&self) -> DeviceAccountConfiguration
fn clone(&self) -> DeviceAccountConfiguration
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 DeviceAccountConfiguration
impl Debug for DeviceAccountConfiguration
§impl From<&DeviceAccountConfiguration> for &IInspectable
impl From<&DeviceAccountConfiguration> for &IInspectable
§fn from(value: &DeviceAccountConfiguration) -> Self
fn from(value: &DeviceAccountConfiguration) -> Self
Converts to this type from the input type.
§impl From<&DeviceAccountConfiguration> for &IUnknown
impl From<&DeviceAccountConfiguration> for &IUnknown
§fn from(value: &DeviceAccountConfiguration) -> Self
fn from(value: &DeviceAccountConfiguration) -> Self
Converts to this type from the input type.
§impl From<DeviceAccountConfiguration> for IInspectable
impl From<DeviceAccountConfiguration> for IInspectable
§fn from(value: DeviceAccountConfiguration) -> Self
fn from(value: DeviceAccountConfiguration) -> Self
Converts to this type from the input type.
§impl From<DeviceAccountConfiguration> for IUnknown
impl From<DeviceAccountConfiguration> for IUnknown
§fn from(value: DeviceAccountConfiguration) -> Self
fn from(value: DeviceAccountConfiguration) -> Self
Converts to this type from the input type.
§impl Interface for DeviceAccountConfiguration
impl Interface for DeviceAccountConfiguration
§const IID: GUID = <IDeviceAccountConfiguration as windows_core::Interface>::IID
const IID: GUID = <IDeviceAccountConfiguration 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 DeviceAccountConfiguration
impl PartialEq for DeviceAccountConfiguration
§fn eq(&self, other: &DeviceAccountConfiguration) -> bool
fn eq(&self, other: &DeviceAccountConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DeviceAccountConfiguration
impl Send for DeviceAccountConfiguration
impl StructuralPartialEq for DeviceAccountConfiguration
impl Sync for DeviceAccountConfiguration
Auto Trait Implementations§
impl Freeze for DeviceAccountConfiguration
impl RefUnwindSafe for DeviceAccountConfiguration
impl Unpin for DeviceAccountConfiguration
impl UnwindSafe for DeviceAccountConfiguration
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
)