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: StringThe display name of the target account.
screen_name: StringThe screen name of the target account.
id: u64The 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§
Source§impl Debug for RelationLookup
impl Debug for RelationLookup
Source§impl<'de> Deserialize<'de> for RelationLookup
impl<'de> Deserialize<'de> for RelationLookup
Source§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 Freeze for RelationLookup
impl RefUnwindSafe for RelationLookup
impl Send for RelationLookup
impl Sync for RelationLookup
impl Unpin for RelationLookup
impl UnwindSafe for RelationLookup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more