pub enum SmsGroupContentPart {
TextContent(Box<TextContent>),
TextUpdateContent(Box<TextUpdateContent>),
AttachmentContent(Box<AttachmentContent>),
VoiceContent(Box<VoiceContent>),
ReactionContent(Box<ReactionContent>),
MessageDeleteContent(Box<MessageDeleteContent>),
MessageReadContent(Box<MessageReadContent>),
SpaceParticipantsUpdateContent(Box<SpaceParticipantsUpdateContent>),
SpaceTypingUpdateContent(Box<SpaceTypingUpdateContent>),
PollContent(Box<PollContent>),
PollVoteContent(Box<PollVoteContent>),
PollUpdateContent(Box<PollUpdateContent>),
}Variants§
TextContent(Box<TextContent>)
TextUpdateContent(Box<TextUpdateContent>)
AttachmentContent(Box<AttachmentContent>)
VoiceContent(Box<VoiceContent>)
ReactionContent(Box<ReactionContent>)
MessageDeleteContent(Box<MessageDeleteContent>)
MessageReadContent(Box<MessageReadContent>)
SpaceParticipantsUpdateContent(Box<SpaceParticipantsUpdateContent>)
SpaceTypingUpdateContent(Box<SpaceTypingUpdateContent>)
PollContent(Box<PollContent>)
PollVoteContent(Box<PollVoteContent>)
PollUpdateContent(Box<PollUpdateContent>)
Trait Implementations§
Source§impl Clone for SmsGroupContentPart
impl Clone for SmsGroupContentPart
Source§impl Debug for SmsGroupContentPart
impl Debug for SmsGroupContentPart
Source§impl<'de> Deserialize<'de> for SmsGroupContentPart
impl<'de> Deserialize<'de> for SmsGroupContentPart
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SmsGroupContentPart
impl RefUnwindSafe for SmsGroupContentPart
impl Send for SmsGroupContentPart
impl Sync for SmsGroupContentPart
impl Unpin for SmsGroupContentPart
impl UnsafeUnpin for SmsGroupContentPart
impl UnwindSafe for SmsGroupContentPart
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