Enum whatsappweb::connection::UserData[][src]

pub enum UserData {
    ContactsInitial(Vec<Contact>),
    ContactAddChange(Contact),
    ContactDelete(Jid),
    Chats(Vec<Chat>),
    ChatAction(JidChatAction),
    UserJid(Jid),
    PresenceChange(JidPresenceStatusOption<NaiveDateTime>),
    MessageAck(MessageAck),
    GroupIntroduce {
        newly_created: bool,
        inducer: Jid,
        meta: GroupMetadata,
    },
    GroupParticipantsChange {
        group: Jid,
        change: GroupParticipantsChange,
        inducer: Option<Jid>,
        participants: Vec<Jid>,
    },
    Battery(u8),
}

Variants

Contacts are initial send by the app

Contact is added or changed

Contact is removed

Chats are initial send by the app

Jid of the own user

Fields of GroupIntroduce

Fields of GroupParticipantsChange

Batterylevel which is submitted by the app

Trait Implementations

impl Debug for UserData
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for UserData

impl Sync for UserData