pub struct PostEventsBody {Show 15 fields
pub title: EventTitle,
pub description: EventDescription,
pub password: Option<RoomPassword>,
pub waiting_room: bool,
pub e2e_encryption: bool,
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 streaming_targets: Vec<StreamingTarget>,
pub has_shared_folder: bool,
pub show_meeting_details: bool,
pub training_participation_report: Option<TrainingParticipationReportParameterSet>,
}Expand description
Body of the POST /events endpoint
Fields§
§title: EventTitleTitle of the event
description: EventDescriptionDescription of the event
password: Option<RoomPassword>Optional password for the room related to the event
waiting_room: boolShould the created event have a waiting room?
e2e_encryption: boolShould the created event be encrypted?
is_time_independent: boolShould the created event be time independent?
If true, all following fields must be null
If false, requires is_all_day, starts_at, ends_at
is_all_day: Option<bool>Should the event be all-day?
If true, requires starts_at.datetime and ends_at.datetime to have a 00:00 time part
starts_at: Option<DateTimeTz>Start time of the event
For recurring events these must contain the datetime of the first instance
ends_at: Option<DateTimeTz>End time of the event
For recurring events these must contain the datetime of the first instance
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.
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: boolIs this an ad-hoc chatroom?
streaming_targets: Vec<StreamingTarget>The streaming targets of the room associated with the event
Should the created event have a shared folder?
show_meeting_details: boolShould it be able to show the meeting details?
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 PostEventsBody
impl Clone for PostEventsBody
Source§fn clone(&self) -> PostEventsBody
fn clone(&self) -> PostEventsBody
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for PostEventsBody
impl ComposeSchema for PostEventsBody
Source§impl Debug for PostEventsBody
impl Debug for PostEventsBody
Source§impl<'de> Deserialize<'de> for PostEventsBody
impl<'de> Deserialize<'de> for PostEventsBody
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 PostEventsBody
impl ExampleData for PostEventsBody
Source§fn example_data() -> Self
fn example_data() -> Self
Source§impl PartialEq for PostEventsBody
impl PartialEq for PostEventsBody
Source§impl Serialize for PostEventsBody
impl Serialize for PostEventsBody
Source§impl ToSchema for PostEventsBody
impl ToSchema for PostEventsBody
impl Eq for PostEventsBody
impl StructuralPartialEq for PostEventsBody
Auto Trait Implementations§
impl Freeze for PostEventsBody
impl RefUnwindSafe for PostEventsBody
impl Send for PostEventsBody
impl Sync for PostEventsBody
impl Unpin for PostEventsBody
impl UnwindSafe for PostEventsBody
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