pub struct CalendarEventCreatedEvent {
pub event_type: Option<String>,
pub event_id: Option<String>,
pub inbox_id: Option<String>,
pub calendar_event: CalendarEvent,
}Available on crate feature
websockets only.Expand description
A decoded event frame; see the module docs for the protocol.
Fields§
§event_type: Option<String>The event type on the wire (e.g. message.sent).
event_id: Option<String>Server-issued event id.
inbox_id: Option<String>Inbox the event concerns, when scoped to one.
calendar_event: CalendarEventThe event’s payload.
Trait Implementations§
Source§impl Clone for CalendarEventCreatedEvent
impl Clone for CalendarEventCreatedEvent
Source§impl Debug for CalendarEventCreatedEvent
impl Debug for CalendarEventCreatedEvent
Source§impl<'de> Deserialize<'de> for CalendarEventCreatedEvent
impl<'de> Deserialize<'de> for CalendarEventCreatedEvent
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 CalendarEventCreatedEvent
impl RefUnwindSafe for CalendarEventCreatedEvent
impl Send for CalendarEventCreatedEvent
impl Sync for CalendarEventCreatedEvent
impl Unpin for CalendarEventCreatedEvent
impl UnsafeUnpin for CalendarEventCreatedEvent
impl UnwindSafe for CalendarEventCreatedEvent
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