pub struct CalendarEvent { /* private fields */ }
Implementations§
Source§impl CalendarEvent
helpers for inner
impl CalendarEvent
helpers for inner
pub fn event_id(&self) -> OwnedEventId
pub fn room_id_str(&self) -> String
pub fn sender(&self) -> OwnedUserId
Source§impl CalendarEvent
Custom functions
impl CalendarEvent
Custom functions
pub async fn refresh(&self) -> Result<CalendarEvent>
pub async fn can_redact(&self) -> Result<bool>
pub fn update_builder(&self) -> Result<CalendarEventUpdateBuilder>
pub fn subscribe_stream(&self) -> impl Stream<Item = bool>
pub fn subscribe(&self) -> Receiver<()>
pub async fn comments(&self) -> Result<CommentsManager>
pub async fn attachments(&self) -> Result<AttachmentsManager>
pub async fn rsvps(&self) -> Result<RsvpManager>
pub async fn reactions(&self) -> Result<ReactionManager>
pub async fn participants(&self) -> Result<Vec<String>>
pub fn physical_locations(&self) -> Vec<EventLocationInfo>
pub fn virtual_locations(&self) -> Vec<EventLocationInfo>
pub fn locations(&self) -> Vec<EventLocationInfo>
pub async fn responded_by_me(&self) -> Result<OptionRsvpStatus>
pub fn ical_for_sharing(&self, file_name: String) -> Result<bool>
pub async fn ref_details(&self) -> Result<RefDetails>
Methods from Deref<Target = CalendarEvent>§
pub fn title(&self) -> String
pub fn description(&self) -> Option<TextMessageContent>
pub fn room_id(&self) -> &RoomId
pub fn sender(&self) -> &UserId
pub fn updater(&self) -> CalendarEventUpdateBuilder
pub fn utc_end(&self) -> DateTime<Utc>
pub fn utc_start(&self) -> DateTime<Utc>
pub fn show_without_time(&self) -> bool
pub fn as_ical_event(&self) -> Event
Methods from Deref<Target = CalendarEventEventContent>§
Sourcepub fn description(&self) -> &Option<TextMessageEventContent>
pub fn description(&self) -> &Option<TextMessageEventContent>
Further information describing the calendar_event
Sourcepub fn show_without_time(&self) -> &bool
pub fn show_without_time(&self) -> &bool
Should this event been shown without the time?
Sourcepub fn locations(&self) -> &Vec<EventLocation>
pub fn locations(&self) -> &Vec<EventLocation>
Where is this event happening?
Sourcepub fn keywords(&self) -> &Vec<String>
pub fn keywords(&self) -> &Vec<String>
Get field keywords
from instance of CalendarEventEventContent
.
Sourcepub fn categories(&self) -> &Vec<String>
pub fn categories(&self) -> &Vec<String>
Get field categories
from instance of CalendarEventEventContent
.
Trait Implementations§
Source§impl Clone for CalendarEvent
impl Clone for CalendarEvent
Source§fn clone(&self) -> CalendarEvent
fn clone(&self) -> CalendarEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CalendarEvent
impl Debug for CalendarEvent
Source§impl Ord for CalendarEvent
impl Ord for CalendarEvent
Source§impl PartialEq for CalendarEvent
impl PartialEq for CalendarEvent
Source§impl PartialOrd for CalendarEvent
impl PartialOrd for CalendarEvent
Source§impl Deref for CalendarEvent
impl Deref for CalendarEvent
impl Eq for CalendarEvent
Auto Trait Implementations§
impl Freeze for CalendarEvent
impl !RefUnwindSafe for CalendarEvent
impl Send for CalendarEvent
impl Sync for CalendarEvent
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key
and return true
if they are equal.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
Compares
self
to key
and returns true
if they are equal.Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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>
Converts
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>
Converts
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 more