[][src]Struct egg_mode::user::RelationLookup

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.

Trait Implementations

impl Debug for RelationLookup[src]

impl<'de> Deserialize<'de> for RelationLookup[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,