[−][src]Struct egg_mode::user::RelationSource
Represents relationship settings between two Twitter accounts, from the perspective of the source user.
This struct holds more information than the RelationTarget
struct, mainly attributes only
visible to the user that set them. While you can see relationships between any two arbitrary
users, if the "source" account is the same one whose access token you're using, you can see
extra information about this relationship.
Fields
id: u64
Numeric ID for this account.
screen_name: String
Screen name for this account.
following: bool
Indicates whether this source account follows the target account.
followed_by: bool
Indicates whether the target account follows this source account.
can_dm: bool
Indicates whether this source account can send a direct message to the target account.
If followed_by
is false but this is true, that could indicate that the target account has
allowed anyone to direct-message them.
blocking: Option<bool>
Indicates whether this source account is blocking the target account. If the source account
is not the authenticated user, holds None
instead.
marked_spam: Option<bool>
Indicates whether this source account has reported the target account for spam. If the source
account is not the authenticated user, holds None
instead.
want_retweets: Option<bool>
Indicates whether this source account has decided to show retweets from the target account.
If the source account is not the authenticated user, holds None
instead.
notifications_enabled: Option<bool>
Indicates whether this source account has decided to receive mobile notifications for the
target account. If the source account is not the authenticated user, holds None
instead.
Trait Implementations
impl Debug for RelationSource
[src]
impl<'de> Deserialize<'de> for RelationSource
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for RelationSource
impl Send for RelationSource
impl Sync for RelationSource
impl Unpin for RelationSource
impl UnwindSafe for RelationSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,