pub enum TelegramGroupContentPart {
TextContent(Box<TextContent>),
AttachmentContent(Box<AttachmentContent>),
VoiceContent(Box<VoiceContent>),
}Variants§
TextContent(Box<TextContent>)
AttachmentContent(Box<AttachmentContent>)
VoiceContent(Box<VoiceContent>)
Trait Implementations§
Source§impl Clone for TelegramGroupContentPart
impl Clone for TelegramGroupContentPart
Source§impl Debug for TelegramGroupContentPart
impl Debug for TelegramGroupContentPart
Source§impl<'de> Deserialize<'de> for TelegramGroupContentPart
impl<'de> Deserialize<'de> for TelegramGroupContentPart
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 TelegramGroupContentPart
impl RefUnwindSafe for TelegramGroupContentPart
impl Send for TelegramGroupContentPart
impl Sync for TelegramGroupContentPart
impl Unpin for TelegramGroupContentPart
impl UnsafeUnpin for TelegramGroupContentPart
impl UnwindSafe for TelegramGroupContentPart
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