pub struct NoCalendar;Expand description
The calendar backend of a server that has none. Its tools stay hidden.
Trait Implementations§
Source§impl CalendarProvider for NoCalendar
impl CalendarProvider for NoCalendar
Source§async fn list_events(&self, _query: &EventQuery) -> Result<EventList, CoreError>
async fn list_events(&self, _query: &EventQuery) -> Result<EventList, CoreError>
Lists events in a time range. Read more
Source§async fn get_event(&self, _path: &ResourcePath) -> Result<Event, CoreError>
async fn get_event(&self, _path: &ResourcePath) -> Result<Event, CoreError>
Fetches one event. Read more
Source§async fn create_event(
&self,
_calendar: &ResourcePath,
_draft: &EventDraft,
) -> Result<ResourcePath, CoreError>
async fn create_event( &self, _calendar: &ResourcePath, _draft: &EventDraft, ) -> Result<ResourcePath, CoreError>
Creates an event. Read more
Source§async fn update_event(
&self,
_path: &ResourcePath,
_etag: &ETag,
_draft: &EventDraft,
_scope: &UpdateScope,
) -> Result<ETag, CoreError>
async fn update_event( &self, _path: &ResourcePath, _etag: &ETag, _draft: &EventDraft, _scope: &UpdateScope, ) -> Result<ETag, CoreError>
Changes an event when the
ETag still matches. Read moreSource§async fn delete_event(
&self,
_path: &ResourcePath,
_etag: &ETag,
) -> Result<(), CoreError>
async fn delete_event( &self, _path: &ResourcePath, _etag: &ETag, ) -> Result<(), CoreError>
Deletes an event when the
ETag still matches. Read moreSource§impl Clone for NoCalendar
impl Clone for NoCalendar
impl Copy for NoCalendar
Source§impl Debug for NoCalendar
impl Debug for NoCalendar
Source§impl Default for NoCalendar
impl Default for NoCalendar
Source§impl RemindersProvider for NoCalendar
impl RemindersProvider for NoCalendar
Source§async fn list_lists(&self) -> Result<Vec<ReminderList>, CoreError>
async fn list_lists(&self) -> Result<Vec<ReminderList>, CoreError>
Lists reminder lists. Read more
Source§async fn list(
&self,
_list: Option<&ResourcePath>,
_completed: CompletedFilter,
) -> Result<ReminderPage, CoreError>
async fn list( &self, _list: Option<&ResourcePath>, _completed: CompletedFilter, ) -> Result<ReminderPage, CoreError>
Lists reminders. Read more
Source§async fn get(&self, _path: &ResourcePath) -> Result<Reminder, CoreError>
async fn get(&self, _path: &ResourcePath) -> Result<Reminder, CoreError>
Fetches one reminder. Read more
Source§async fn create(
&self,
_list: &ResourcePath,
_draft: &ReminderDraft,
) -> Result<ResourcePath, CoreError>
async fn create( &self, _list: &ResourcePath, _draft: &ReminderDraft, ) -> Result<ResourcePath, CoreError>
Creates a reminder. Read more
Source§async fn update(
&self,
_path: &ResourcePath,
_etag: &ETag,
_draft: &ReminderDraft,
) -> Result<ETag, CoreError>
async fn update( &self, _path: &ResourcePath, _etag: &ETag, _draft: &ReminderDraft, ) -> Result<ETag, CoreError>
Replaces a reminder when the
ETag still matches. Read moreAuto Trait Implementations§
impl Forget for NoCalendar
impl Freeze for NoCalendar
impl Move for NoCalendar
impl RefUnwindSafe for NoCalendar
impl Send for NoCalendar
impl Sync for NoCalendar
impl Unpin for NoCalendar
impl UnsafeUnpin for NoCalendar
impl UnwindSafe for NoCalendar
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