pub enum Announcement<'a> {
FullyUnsent,
GroupAction(GroupAction<'a>),
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
Unknown(&'a i32)
Types that may occur in the future
Trait Implementations§
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> 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