Enum rust_tdlib::types::ChatSource [−][src]
pub enum ChatSource { MtprotoProxy(ChatSourceMtprotoProxy), PublicServiceAnnouncement(ChatSourcePublicServiceAnnouncement), // some variants omitted }
Expand description
Describes a reason why an external chat is shown in a chat list
Variants
MtprotoProxy(ChatSourceMtprotoProxy)
The chat is sponsored by the user’s MTProxy server
PublicServiceAnnouncement(ChatSourcePublicServiceAnnouncement)
The chat contains a public service announcement
Implementations
Trait Implementations
Performs the conversion.
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 RefUnwindSafe for ChatSource
impl Send for ChatSource
impl Sync for ChatSource
impl Unpin for ChatSource
impl UnwindSafe for ChatSource
Blanket Implementations
Mutably borrows from an owned value. Read more