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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.