Struct egg_mode::user::RelationLookup [−][src]
pub struct RelationLookup { pub name: String, pub screen_name: String, pub id: u64, pub connections: Vec<Connection>, }
Expand description
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
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RelationLookup
impl Send for RelationLookup
impl Sync for RelationLookup
impl Unpin for RelationLookup
impl UnwindSafe for RelationLookup