pub struct InvitationsManager { /* private fields */ }
Implementations§
Source§impl InvitationsManager
impl InvitationsManager
pub async fn from_store_and_event_id( store: &Store, event_id: &EventId, ) -> InvitationsManager
pub fn event_id(&self) -> OwnedEventId
pub async fn invite_entries( &self, ) -> Result<HashMap<OwnedUserId, ExplicitInvite>>
pub fn stats(&self) -> &InviteStats
pub fn update_key(&self) -> ExecuteReference
pub async fn save(&self) -> Result<Vec<ExecuteReference>>
Methods from Deref<Target = InviteStats>§
Sourcepub fn invited(&self) -> &BTreeSet<OwnedUserId>
pub fn invited(&self) -> &BTreeSet<OwnedUserId>
Get field invited
from instance of InviteStats
.
Sourcepub fn accepted(&self) -> &BTreeSet<OwnedUserId>
pub fn accepted(&self) -> &BTreeSet<OwnedUserId>
Get field accepted
from instance of InviteStats
.
Sourcepub fn declined(&self) -> &BTreeSet<OwnedUserId>
pub fn declined(&self) -> &BTreeSet<OwnedUserId>
Get field declined
from instance of InviteStats
.
Trait Implementations§
Source§impl Clone for InvitationsManager
impl Clone for InvitationsManager
Source§fn clone(&self) -> InvitationsManager
fn clone(&self) -> InvitationsManager
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 InvitationsManager
impl Debug for InvitationsManager
Auto Trait Implementations§
impl Freeze for InvitationsManager
impl !RefUnwindSafe for InvitationsManager
impl Send for InvitationsManager
impl Sync for InvitationsManager
impl Unpin for InvitationsManager
impl !UnwindSafe for InvitationsManager
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<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