pub enum Announcement<'a> {
FullyUnsent,
GroupAction(GroupAction<'a>),
AudioMessageKept,
Unknown(&'a i32),
}Expand description
Announcement Message Types
Announcements are messages sent to a thread for actions that are not balloons, i.e. updating the name of the group or changing the group photo
Variants§
FullyUnsent
All parts of the message were unsent
GroupAction(GroupAction<'a>)
A group action
AudioMessageKept
A user kept an audio message
Unknown(&'a i32)
Types that may occur in the future
Trait Implementations§
Source§impl<'a> Debug for Announcement<'a>
impl<'a> Debug for Announcement<'a>
Source§impl<'a> PartialEq for Announcement<'a>
impl<'a> PartialEq for Announcement<'a>
impl<'a> Eq for Announcement<'a>
impl<'a> StructuralPartialEq for Announcement<'a>
Auto Trait Implementations§
impl<'a> Freeze for Announcement<'a>
impl<'a> RefUnwindSafe for Announcement<'a>
impl<'a> Send for Announcement<'a>
impl<'a> Sync for Announcement<'a>
impl<'a> Unpin for Announcement<'a>
impl<'a> UnsafeUnpin for Announcement<'a>
impl<'a> UnwindSafe for Announcement<'a>
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<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.