Struct whatsappweb::Jid[][src]

pub struct Jid {
    pub id: String,
    pub is_group: bool,
}

Fields

Methods

impl Jid
[src]

impl Jid
[src]

Jid used to identify either a group or an individual

If the Jid is from an individual return the international phonenumber, else None

Trait Implementations

impl Debug for Jid
[src]

Formats the value using the given formatter. Read more

impl Clone for Jid
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for Jid
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for Jid
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for Jid
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Jid

impl Sync for Jid