Struct windows::ApplicationModel::Email::EmailMailbox
pub struct EmailMailbox(/* private fields */);
Implementations§
§impl EmailMailbox
impl EmailMailbox
pub fn Capabilities(&self) -> Result<EmailMailboxCapabilities>
pub fn ChangeTracker(&self) -> Result<EmailMailboxChangeTracker>
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn SetDisplayName(&self, value: &HSTRING) -> Result<()>
pub fn Id(&self) -> Result<HSTRING>
pub fn IsOwnedByCurrentApp(&self) -> Result<bool>
pub fn IsDataEncryptedUnderLock(&self) -> Result<bool>
pub fn MailAddress(&self) -> Result<HSTRING>
pub fn SetMailAddress(&self, value: &HSTRING) -> Result<()>
pub fn MailAddressAliases(&self) -> Result<IVector<HSTRING>>
pub fn OtherAppReadAccess(&self) -> Result<EmailMailboxOtherAppReadAccess>
pub fn SetOtherAppReadAccess( &self, value: EmailMailboxOtherAppReadAccess ) -> Result<()>
pub fn OtherAppWriteAccess(&self) -> Result<EmailMailboxOtherAppWriteAccess>
pub fn SetOtherAppWriteAccess( &self, value: EmailMailboxOtherAppWriteAccess ) -> Result<()>
pub fn Policies(&self) -> Result<EmailMailboxPolicies>
pub fn SourceDisplayName(&self) -> Result<HSTRING>
pub fn SyncManager(&self) -> Result<EmailMailboxSyncManager>
pub fn UserDataAccountId(&self) -> Result<HSTRING>
pub fn GetConversationReader(&self) -> Result<EmailConversationReader>
pub fn GetConversationReaderWithOptions<P0>(
&self,
options: P0
) -> Result<EmailConversationReader>where
P0: IntoParam<EmailQueryOptions>,
pub fn GetMessageReader(&self) -> Result<EmailMessageReader>
pub fn GetMessageReaderWithOptions<P0>(
&self,
options: P0
) -> Result<EmailMessageReader>where
P0: IntoParam<EmailQueryOptions>,
pub fn DeleteAsync(&self) -> Result<IAsyncAction>
pub fn GetConversationAsync( &self, id: &HSTRING ) -> Result<IAsyncOperation<EmailConversation>>
pub fn GetFolderAsync( &self, id: &HSTRING ) -> Result<IAsyncOperation<EmailFolder>>
pub fn GetMessageAsync( &self, id: &HSTRING ) -> Result<IAsyncOperation<EmailMessage>>
pub fn GetSpecialFolderAsync( &self, foldertype: EmailSpecialFolderKind ) -> Result<IAsyncOperation<EmailFolder>>
pub fn SaveAsync(&self) -> Result<IAsyncAction>
pub fn MarkMessageAsSeenAsync( &self, messageid: &HSTRING ) -> Result<IAsyncAction>
pub fn MarkFolderAsSeenAsync(&self, folderid: &HSTRING) -> Result<IAsyncAction>
pub fn MarkMessageReadAsync( &self, messageid: &HSTRING, isread: bool ) -> Result<IAsyncAction>
pub fn ChangeMessageFlagStateAsync( &self, messageid: &HSTRING, flagstate: EmailFlagState ) -> Result<IAsyncAction>
pub fn TryMoveMessageAsync( &self, messageid: &HSTRING, newparentfolderid: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn TryMoveFolderAsync( &self, folderid: &HSTRING, newparentfolderid: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn TryMoveFolderWithNewNameAsync( &self, folderid: &HSTRING, newparentfolderid: &HSTRING, newfoldername: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn DeleteMessageAsync(&self, messageid: &HSTRING) -> Result<IAsyncAction>
pub fn MarkFolderSyncEnabledAsync( &self, folderid: &HSTRING, issyncenabled: bool ) -> Result<IAsyncAction>
pub fn SendMessageAsync<P0>(&self, message: P0) -> Result<IAsyncAction>where
P0: IntoParam<EmailMessage>,
pub fn SaveDraftAsync<P0>(&self, message: P0) -> Result<IAsyncAction>where
P0: IntoParam<EmailMessage>,
pub fn DownloadMessageAsync(&self, messageid: &HSTRING) -> Result<IAsyncAction>
pub fn DownloadAttachmentAsync( &self, attachmentid: &HSTRING ) -> Result<IAsyncAction>
pub fn CreateResponseMessageAsync( &self, messageid: &HSTRING, responsetype: EmailMessageResponseKind, subject: &HSTRING, responseheadertype: EmailMessageBodyKind, responseheader: &HSTRING ) -> Result<IAsyncOperation<EmailMessage>>
pub fn TryUpdateMeetingResponseAsync<P0>(
&self,
meeting: P0,
response: EmailMeetingResponseType,
subject: &HSTRING,
comment: &HSTRING,
sendupdate: bool
) -> Result<IAsyncOperation<bool>>where
P0: IntoParam<EmailMessage>,
pub fn TryForwardMeetingAsync<P0, P1>( &self, meeting: P0, recipients: P1, subject: &HSTRING, forwardheadertype: EmailMessageBodyKind, forwardheader: &HSTRING, comment: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn TryProposeNewTimeForMeetingAsync<P0>(
&self,
meeting: P0,
newstarttime: DateTime,
newduration: TimeSpan,
subject: &HSTRING,
comment: &HSTRING
) -> Result<IAsyncOperation<bool>>where
P0: IntoParam<EmailMessage>,
pub fn MailboxChanged<P0>(&self, phandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveMailboxChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn SmartSendMessageAsync<P0>(
&self,
message: P0,
smartsend: bool
) -> Result<IAsyncAction>where
P0: IntoParam<EmailMessage>,
pub fn TrySetAutoReplySettingsAsync<P0>(
&self,
autoreplysettings: P0
) -> Result<IAsyncOperation<bool>>where
P0: IntoParam<EmailMailboxAutoReplySettings>,
pub fn TryGetAutoReplySettingsAsync( &self, requestedformat: EmailMailboxAutoReplyMessageResponseKind ) -> Result<IAsyncOperation<EmailMailboxAutoReplySettings>>
pub fn LinkedMailboxId(&self) -> Result<HSTRING>
pub fn NetworkAccountId(&self) -> Result<HSTRING>
pub fn NetworkId(&self) -> Result<HSTRING>
pub fn ResolveRecipientsAsync<P0>( &self, recipients: P0 ) -> Result<IAsyncOperation<IVectorView<EmailRecipientResolutionResult>>>
pub fn ValidateCertificatesAsync<P0>(
&self,
certificates: P0
) -> Result<IAsyncOperation<IVectorView<EmailCertificateValidationStatus>>>where
P0: IntoParam<IIterable<Certificate>>,
pub fn TryEmptyFolderAsync( &self, folderid: &HSTRING ) -> Result<IAsyncOperation<EmailMailboxEmptyFolderStatus>>
pub fn TryCreateFolderAsync( &self, parentfolderid: &HSTRING, name: &HSTRING ) -> Result<IAsyncOperation<EmailMailboxCreateFolderResult>>
pub fn TryDeleteFolderAsync( &self, folderid: &HSTRING ) -> Result<IAsyncOperation<EmailMailboxDeleteFolderStatus>>
pub fn RegisterSyncManagerAsync(&self) -> Result<IAsyncAction>
pub fn GetChangeTracker( &self, identity: &HSTRING ) -> Result<EmailMailboxChangeTracker>
Trait Implementations§
§impl Clone for EmailMailbox
impl Clone for EmailMailbox
§fn clone(&self) -> EmailMailbox
fn clone(&self) -> EmailMailbox
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 EmailMailbox
impl Debug for EmailMailbox
§impl From<&EmailMailbox> for &IInspectable
impl From<&EmailMailbox> for &IInspectable
§fn from(value: &EmailMailbox) -> Self
fn from(value: &EmailMailbox) -> Self
Converts to this type from the input type.
§impl From<&EmailMailbox> for &IUnknown
impl From<&EmailMailbox> for &IUnknown
§fn from(value: &EmailMailbox) -> Self
fn from(value: &EmailMailbox) -> Self
Converts to this type from the input type.
§impl From<EmailMailbox> for IInspectable
impl From<EmailMailbox> for IInspectable
§fn from(value: EmailMailbox) -> Self
fn from(value: EmailMailbox) -> Self
Converts to this type from the input type.
§impl From<EmailMailbox> for IUnknown
impl From<EmailMailbox> for IUnknown
§fn from(value: EmailMailbox) -> Self
fn from(value: EmailMailbox) -> Self
Converts to this type from the input type.
§impl Interface for EmailMailbox
impl Interface for EmailMailbox
§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 EmailMailbox
impl PartialEq for EmailMailbox
§fn eq(&self, other: &EmailMailbox) -> bool
fn eq(&self, other: &EmailMailbox) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EmailMailbox
impl Send for EmailMailbox
impl StructuralPartialEq for EmailMailbox
impl Sync for EmailMailbox
Auto Trait Implementations§
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