Enum grammers_client::types::update::Update [−][src]
#[non_exhaustive]
pub enum Update {
NewMessage(Message),
}Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NewMessage(Message)Occurs whenever a new text message or a message with media is produced.
Auto Trait Implementations
impl !RefUnwindSafe for Update
impl !RefUnwindSafe for Updateimpl !UnwindSafe for Update
impl !UnwindSafe for Update