Struct egg_mode::user::RelationLookup
[−]
[src]
pub struct RelationLookup { pub name: String, pub screen_name: String, pub id: u64, pub connections: Vec<Connection>, }
Represents the relation the authenticated user has to a given account.
This is returned by relation_lookup
, as opposed to Relationship
, which is returned by
relation
.
Fields
name: String
The display name of the target account.
screen_name: String
The screen name of the target account.
id: u64
The numeric ID of the target account.
connections: Vec<Connection>
The ways the target account is connected to the authenticated user.
If the target account has no relation to the authenticated user, this will not be empty; its
only element will be None
.