pub enum SpaceActivity {
Changed,
Created,
Favorite,
Joined,
Left,
Locked,
MeetingScheduled,
ModeratorAssigned,
ModeratorUnassigned,
Unfavorite,
Unlocked,
}Expand description
Specifics of what type of activity ActivityType::Space represents.
TODO: should we merge Self::Created/Self::Joined?
Variants§
Changed
Space was changed (i.e. name change, cover image changed, space picture changed). Also includes meeting changes (meeting name or schedule)
Created
A new space was created with the bot
Favorite
A space was favorited
Joined
Bot was added to a space… or a reaction was added to a message? TODO: figure out a way to tell these events apart
Left
Bot left (was kicked out of) a space
Locked
Space became moderated
MeetingScheduled
New meeting scheduled
ModeratorAssigned
A new moderator was assigned
ModeratorUnassigned
A moderator was unassigned
Unfavorite
A space was unfavorited
Unlocked
Space became unmoderated
Trait Implementations§
Source§impl Clone for SpaceActivity
impl Clone for SpaceActivity
Source§impl Debug for SpaceActivity
impl Debug for SpaceActivity
impl Eq for SpaceActivity
Source§impl PartialEq for SpaceActivity
impl PartialEq for SpaceActivity
impl StructuralPartialEq for SpaceActivity
Auto Trait Implementations§
impl Freeze for SpaceActivity
impl RefUnwindSafe for SpaceActivity
impl Send for SpaceActivity
impl Sync for SpaceActivity
impl Unpin for SpaceActivity
impl UnsafeUnpin for SpaceActivity
impl UnwindSafe for SpaceActivity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.