pub enum SendContentPart {
SendTextContent(Box<SendTextContent>),
SendTextUpdateContent(Box<SendTextUpdateContent>),
SendAttachmentContent(Box<SendAttachmentContent>),
SendVoiceContent(Box<SendVoiceContent>),
SendReactionContent(Box<SendReactionContent>),
SendMessageDeleteContent(Box<SendMessageDeleteContent>),
SendMessageReadContent(Box<SendMessageReadContent>),
SendSpaceParticipantsUpdateContent(Box<SendSpaceParticipantsUpdateContent>),
SendSpaceTypingUpdateContent(Box<SendSpaceTypingUpdateContent>),
SendPollContent(Box<SendPollContent>),
SendPollVoteContent(Box<SendPollVoteContent>),
SendPollUpdateContent(Box<SendPollUpdateContent>),
}Variants§
SendTextContent(Box<SendTextContent>)
SendTextUpdateContent(Box<SendTextUpdateContent>)
SendAttachmentContent(Box<SendAttachmentContent>)
SendVoiceContent(Box<SendVoiceContent>)
SendReactionContent(Box<SendReactionContent>)
SendMessageDeleteContent(Box<SendMessageDeleteContent>)
SendMessageReadContent(Box<SendMessageReadContent>)
SendSpaceParticipantsUpdateContent(Box<SendSpaceParticipantsUpdateContent>)
SendSpaceTypingUpdateContent(Box<SendSpaceTypingUpdateContent>)
SendPollContent(Box<SendPollContent>)
SendPollVoteContent(Box<SendPollVoteContent>)
SendPollUpdateContent(Box<SendPollUpdateContent>)
Trait Implementations§
Source§impl Clone for SendContentPart
impl Clone for SendContentPart
Source§impl Debug for SendContentPart
impl Debug for SendContentPart
Source§impl<'de> Deserialize<'de> for SendContentPart
impl<'de> Deserialize<'de> for SendContentPart
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 SendContentPart
impl RefUnwindSafe for SendContentPart
impl Send for SendContentPart
impl Sync for SendContentPart
impl Unpin for SendContentPart
impl UnsafeUnpin for SendContentPart
impl UnwindSafe for SendContentPart
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