Enum rtdlib::types::LinkState [−][src]
pub enum LinkState {
IsContact(LinkStateIsContact),
KnowsPhoneNumber(LinkStateKnowsPhoneNumber),
None(LinkStateNone),
// some variants omitted
}
Expand description
Represents the relationship between user A and user B. For incoming_link, user A is the current user; for outgoing_link, user B is the current user
Variants
The phone number of user A has been saved to the contact list of user B
Tuple Fields of IsContact
The phone number of user A is known but that number has not been saved to the contact list of user B
Tuple Fields of KnowsPhoneNumber
The phone number of user A is not known to user B
Tuple Fields of None
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LinkState
impl UnwindSafe for LinkState
Blanket Implementations
Mutably borrows from an owned value. Read more