pub struct RelationTarget {
pub id: u64,
pub screen_name: String,
pub followed_by: bool,
pub following: bool,
}Expand description
Represents relationship settings between two Twitter accounts, from the perspective of the target user.
Fields§
§id: u64Numeric ID for this account.
screen_name: StringScreen name for this account.
followed_by: boolIndicates whether the source account follows this target account.
following: boolIndicates whether this target account follows the source account.
Trait Implementations§
Source§impl Debug for RelationTarget
impl Debug for RelationTarget
Source§impl<'de> Deserialize<'de> for RelationTarget
impl<'de> Deserialize<'de> for RelationTarget
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 RelationTarget
impl RefUnwindSafe for RelationTarget
impl Send for RelationTarget
impl Sync for RelationTarget
impl Unpin for RelationTarget
impl UnwindSafe for RelationTarget
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