pub struct EventResource {Show 24 fields
pub id: EventId,
pub created_by: PublicUserProfile,
pub created_at: Timestamp,
pub updated_by: PublicUserProfile,
pub updated_at: Timestamp,
pub title: EventTitle,
pub description: EventDescription,
pub room: EventRoomInfo,
pub invitees_truncated: bool,
pub invitees: Vec<EventInvitee>,
pub is_time_independent: bool,
pub is_all_day: Option<bool>,
pub starts_at: Option<DateTimeTz>,
pub ends_at: Option<DateTimeTz>,
pub recurrence_pattern: RecurrencePattern,
pub is_adhoc: bool,
pub type_: EventType,
pub invite_status: EventInviteStatus,
pub is_favorite: bool,
pub can_edit: bool,
pub shared_folder: Option<SharedFolder>,
pub streaming_targets: Vec<RoomStreamingTarget>,
pub show_meeting_details: bool,
pub training_participation_report: Option<TrainingParticipationReportParameterSet>,
}Expand description
Event Resource representation
Returned from GET /events/ and GET /events/{event_id}
Fields§
§id: EventIdID of the event
created_by: PublicUserProfilePublic user profile of the user which created the event
created_at: TimestampTimestamp of the event creation
updated_by: PublicUserProfilePublic user profile of the user which last updated the event
updated_at: TimestampTimestamp of the last update
title: EventTitleTitle of the event
For display purposes
description: EventDescriptionDescription of the event
For display purposes
room: EventRoomInfoAll information about the room the event takes place in
invitees_truncated: boolFlag which indicates if invitees contains all invites as far as known to the application
May also be true if there are no invitees but no invitees were requested
invitees: Vec<EventInvitee>List of event invitees and their invite status. Might not be complete, see invite_truncated
is_time_independent: boolIs the event time independent?
Time independent events are not bound to any time but instead are constantly available to join
is_all_day: Option<bool>Is the event an all day event
All-day events have no start/end time, they last the entire day(s)
starts_at: Option<DateTimeTz>Start time of the event.
Omitted if is_time_independent is true
For events of type recurring the datetime contains the time of the first instance.
The datetimes of subsequent recurrences are computed using the datetime of the first instance and its timezone.
ends_at: Option<DateTimeTz>End time of the event.
Omitted if is_time_independent is true
For events of type recurring the datetime contains the time of the first instance.
The datetimes of subsequent recurrences are computed using the datetime of the first instance and its timezone.
recurrence_pattern: RecurrencePatternRecurrence pattern(s) for recurring events
May contain RRULE, EXRULE, RDATE and EXDATE strings
Requires type to be recurring
Contains a list of recurrence rules which describe the occurrences of the event.
To get all event instances resolved use the GET /events/{event_id}/instances endpoint.
Changing this field will always remove all exceptions for the event.
Allowed are RRULE, RDATE, EXRULE and EXDATE.
The DTSTART and DTEND attributes are not allowed as their information is stored
in the starts_at and ends_at fields.
is_adhoc: boolFlag indicating whether the event is ad-hoc created.
type_: EventTypeType of event
Time independent events or events without recurrence are single while recurring events are recurring
invite_status: EventInviteStatusThe invite status of the current user for this event
is_favorite: boolIs this event in the current user’s favorite list?
can_edit: boolCan the current user edit this resource
Information about the shared folder for the event
streaming_targets: Vec<RoomStreamingTarget>The streaming targets of the room associated with the event
show_meeting_details: boolIndicates whether meeting details should be provided. If absent, no meeting details are made available.
training_participation_report: Option<TrainingParticipationReportParameterSet>The training participation report parameter set for the event.
When present, the training participation report will be started automatically in the meeting.
Trait Implementations§
Source§impl Clone for EventResource
impl Clone for EventResource
Source§fn clone(&self) -> EventResource
fn clone(&self) -> EventResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for EventResource
impl ComposeSchema for EventResource
Source§impl Debug for EventResource
impl Debug for EventResource
Source§impl<'de> Deserialize<'de> for EventResource
impl<'de> Deserialize<'de> for EventResource
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>,
Source§impl ExampleData for EventResource
impl ExampleData for EventResource
Source§fn example_data() -> Self
fn example_data() -> Self
Source§impl PartialEq for EventResource
impl PartialEq for EventResource
Source§impl Serialize for EventResource
impl Serialize for EventResource
Source§impl ToSchema for EventResource
impl ToSchema for EventResource
impl Eq for EventResource
impl StructuralPartialEq for EventResource
Auto Trait Implementations§
impl Freeze for EventResource
impl RefUnwindSafe for EventResource
impl Send for EventResource
impl Sync for EventResource
impl Unpin for EventResource
impl UnwindSafe for EventResource
Blanket Implementations§
Source§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
Source§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read moreSource§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read moreSource§fn aggregate_filter<P>(self, f: P) -> Self::Output
fn aggregate_filter<P>(self, f: P) -> Self::Output
Source§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self to an expression for Diesel’s query builder. Read more