pub struct CalendarEvent {
pub date: String,
pub duration: i64,
pub event_id: i64,
pub importance: i64,
pub owner_id: i64,
pub owner_name: String,
pub owner_type: EventOwnerType,
pub response: String,
pub text: String,
pub title: String,
}Expand description
The details of a calendar event.
Fields§
§date: StringDate and time of the event.
duration: i64Duration of the event in minutes.
event_id: i64ID of the event.
importance: i64Importance of the event.
owner_id: i64ID of the owner of the event.
owner_name: StringName of the owner of the event.
owner_type: EventOwnerTypeKind of the owner of the event.
response: StringResponse of the character to the event.
text: StringDescription of the event.
title: StringTitle of the event.
Trait Implementations§
Source§impl Clone for CalendarEvent
impl Clone for CalendarEvent
Source§impl Debug for CalendarEvent
impl Debug for CalendarEvent
Source§impl<'de> Deserialize<'de> for CalendarEvent
impl<'de> Deserialize<'de> for CalendarEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CalendarEvent
impl RefUnwindSafe for CalendarEvent
impl Send for CalendarEvent
impl Sync for CalendarEvent
impl Unpin for CalendarEvent
impl UnsafeUnpin for CalendarEvent
impl UnwindSafe for CalendarEvent
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