pub struct EventInstance {Show 22 fields
pub id: EventAndInstanceId,
pub recurring_event_id: EventId,
pub instance_id: InstanceId,
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_all_day: bool,
pub starts_at: DateTimeTz,
pub ends_at: DateTimeTz,
pub type_: EventType,
pub status: EventStatus,
pub invite_status: EventInviteStatus,
pub is_favorite: bool,
pub can_edit: bool,
pub shared_folder: Option<SharedFolder>,
pub training_participation_report: Option<TrainingParticipationReportParameterSet>,
}Expand description
Event instance resource
An event instance is an occurrence of an recurring event
Exceptions for the instance are always already applied
For infos on undocumented fields see EventResource
Fields§
§id: EventAndInstanceIdOpaque id of the event instance resource
recurring_event_id: EventIdID of the recurring event this instance belongs to
instance_id: InstanceIdOpaque id of the instance
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 or created the exception which modified the instance
updated_at: TimestampTimestamp of the last update
title: EventTitleTitle of the event
description: EventDescriptionDescription of the event
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
invitees: Vec<EventInvitee>List of event invitees and their invite status. Might not be complete, see invite_truncated
is_all_day: boolFlag indicating whether the event is all-day
starts_at: DateTimeTzStart time of the event.
ends_at: DateTimeTzEnd time of the event.
type_: EventTypeMust always be instance
status: EventStatusThe invite status of the current user for this event
invite_status: EventInviteStatusIs this event in the current user’s favorite list?
is_favorite: boolFlag to indicate if the event is a favorite of the current user
can_edit: boolFkag to indicate if the current user can edit the event
Information about the shared folder for the event
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 EventInstance
impl Clone for EventInstance
Source§fn clone(&self) -> EventInstance
fn clone(&self) -> EventInstance
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for EventInstance
impl ComposeSchema for EventInstance
Source§impl Debug for EventInstance
impl Debug for EventInstance
Source§impl<'de> Deserialize<'de> for EventInstance
impl<'de> Deserialize<'de> for EventInstance
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 EventInstance
impl ExampleData for EventInstance
Source§fn example_data() -> Self
fn example_data() -> Self
Source§impl PartialEq for EventInstance
impl PartialEq for EventInstance
Source§impl Serialize for EventInstance
impl Serialize for EventInstance
Source§impl ToSchema for EventInstance
impl ToSchema for EventInstance
impl Eq for EventInstance
impl StructuralPartialEq for EventInstance
Auto Trait Implementations§
impl Freeze for EventInstance
impl RefUnwindSafe for EventInstance
impl Send for EventInstance
impl Sync for EventInstance
impl Unpin for EventInstance
impl UnwindSafe for EventInstance
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