Struct windows::ApplicationModel::Appointments::AppointmentStore
pub struct AppointmentStore(/* private fields */);
Implementations§
§impl AppointmentStore
impl AppointmentStore
pub fn ChangeTracker(&self) -> Result<AppointmentStoreChangeTracker>
pub fn CreateAppointmentCalendarAsync( &self, name: &HSTRING, ) -> Result<IAsyncOperation<AppointmentCalendar>>
pub fn GetAppointmentCalendarAsync( &self, calendarid: &HSTRING, ) -> Result<IAsyncOperation<AppointmentCalendar>>
pub fn GetAppointmentAsync( &self, localid: &HSTRING, ) -> Result<IAsyncOperation<Appointment>>
pub fn GetAppointmentInstanceAsync( &self, localid: &HSTRING, instancestarttime: DateTime, ) -> Result<IAsyncOperation<Appointment>>
pub fn FindAppointmentCalendarsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<AppointmentCalendar>>>
pub fn FindAppointmentCalendarsAsyncWithOptions( &self, options: FindAppointmentCalendarsOptions, ) -> Result<IAsyncOperation<IVectorView<AppointmentCalendar>>>
pub fn FindAppointmentsAsync( &self, rangestart: DateTime, rangelength: TimeSpan, ) -> Result<IAsyncOperation<IVectorView<Appointment>>>
pub fn FindAppointmentsAsyncWithOptions<P0>(
&self,
rangestart: DateTime,
rangelength: TimeSpan,
options: P0,
) -> Result<IAsyncOperation<IVectorView<Appointment>>>where
P0: Param<FindAppointmentsOptions>,
pub fn FindConflictAsync<P0>(
&self,
appointment: P0,
) -> Result<IAsyncOperation<AppointmentConflictResult>>where
P0: Param<Appointment>,
pub fn FindConflictAsyncWithInstanceStart<P0>(
&self,
appointment: P0,
instancestarttime: DateTime,
) -> Result<IAsyncOperation<AppointmentConflictResult>>where
P0: Param<Appointment>,
pub fn MoveAppointmentAsync<P0, P1>(
&self,
appointment: P0,
destinationcalendar: P1,
) -> Result<IAsyncAction>where
P0: Param<Appointment>,
P1: Param<AppointmentCalendar>,
pub fn ShowAddAppointmentAsync<P0>(
&self,
appointment: P0,
selection: Rect,
) -> Result<IAsyncOperation<HSTRING>>where
P0: Param<Appointment>,
pub fn ShowReplaceAppointmentAsync<P0>(
&self,
localid: &HSTRING,
appointment: P0,
selection: Rect,
) -> Result<IAsyncOperation<HSTRING>>where
P0: Param<Appointment>,
pub fn ShowReplaceAppointmentWithPlacementAndDateAsync<P0>(
&self,
localid: &HSTRING,
appointment: P0,
selection: Rect,
preferredplacement: Placement,
instancestartdate: DateTime,
) -> Result<IAsyncOperation<HSTRING>>where
P0: Param<Appointment>,
pub fn ShowRemoveAppointmentAsync( &self, localid: &HSTRING, selection: Rect, ) -> Result<IAsyncOperation<bool>>
pub fn ShowRemoveAppointmentWithPlacementAndDateAsync( &self, localid: &HSTRING, selection: Rect, preferredplacement: Placement, instancestartdate: DateTime, ) -> Result<IAsyncOperation<bool>>
pub fn ShowAppointmentDetailsAsync( &self, localid: &HSTRING, ) -> Result<IAsyncAction>
pub fn ShowAppointmentDetailsWithDateAsync( &self, localid: &HSTRING, instancestartdate: DateTime, ) -> Result<IAsyncAction>
pub fn ShowEditNewAppointmentAsync<P0>(
&self,
appointment: P0,
) -> Result<IAsyncOperation<HSTRING>>where
P0: Param<Appointment>,
pub fn FindLocalIdsFromRoamingIdAsync( &self, roamingid: &HSTRING, ) -> Result<IAsyncOperation<IVectorView<HSTRING>>>
pub fn StoreChanged<P0>(&self, phandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveStoreChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn CreateAppointmentCalendarInAccountAsync( &self, name: &HSTRING, userdataaccountid: &HSTRING, ) -> Result<IAsyncOperation<AppointmentCalendar>>
pub fn GetChangeTracker( &self, identity: &HSTRING, ) -> Result<AppointmentStoreChangeTracker>
Trait Implementations§
§impl CanInto<IInspectable> for AppointmentStore
impl CanInto<IInspectable> for AppointmentStore
§impl CanInto<IUnknown> for AppointmentStore
impl CanInto<IUnknown> for AppointmentStore
§impl Clone for AppointmentStore
impl Clone for AppointmentStore
§fn clone(&self) -> AppointmentStore
fn clone(&self) -> AppointmentStore
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 AppointmentStore
impl Debug for AppointmentStore
§impl From<&AppointmentStore> for &IInspectable
impl From<&AppointmentStore> for &IInspectable
§fn from(value: &AppointmentStore) -> Self
fn from(value: &AppointmentStore) -> Self
Converts to this type from the input type.
§impl From<&AppointmentStore> for &IUnknown
impl From<&AppointmentStore> for &IUnknown
§fn from(value: &AppointmentStore) -> Self
fn from(value: &AppointmentStore) -> Self
Converts to this type from the input type.
§impl From<AppointmentStore> for IInspectable
impl From<AppointmentStore> for IInspectable
§fn from(value: AppointmentStore) -> Self
fn from(value: AppointmentStore) -> Self
Converts to this type from the input type.
§impl From<AppointmentStore> for IUnknown
impl From<AppointmentStore> for IUnknown
§fn from(value: AppointmentStore) -> Self
fn from(value: AppointmentStore) -> Self
Converts to this type from the input type.
§impl Interface for AppointmentStore
impl Interface for AppointmentStore
§const IID: GUID = <IAppointmentStore as windows_core::Interface>::IID
const IID: GUID = <IAppointmentStore 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 AppointmentStore
impl PartialEq for AppointmentStore
§fn eq(&self, other: &AppointmentStore) -> bool
fn eq(&self, other: &AppointmentStore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AppointmentStore
impl Send for AppointmentStore
impl StructuralPartialEq for AppointmentStore
impl Sync for AppointmentStore
Auto Trait Implementations§
impl Freeze for AppointmentStore
impl RefUnwindSafe for AppointmentStore
impl Unpin for AppointmentStore
impl UnwindSafe for AppointmentStore
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
)