[−][src]Struct tweetust::clients::FriendshipsClient
Provides a set of methods for the wrapper of GET/POST friendships.
Methods
impl<'a, A: Authenticator, H: HttpHandler> FriendshipsClient<'a, A, H>
[src]
pub fn no_retweets_ids(
&self
) -> FriendshipsNoRetweetsIdsRequestBuilder<'a, A, H>
[src]
&self
) -> FriendshipsNoRetweetsIdsRequestBuilder<'a, A, H>
Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from. Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.
pub fn incoming(&self) -> FriendshipsIncomingRequestBuilder<'a, A, H>
[src]
Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.
pub fn outgoing(&self) -> FriendshipsOutgoingRequestBuilder<'a, A, H>
[src]
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
pub fn lookup(&self) -> FriendshipsLookupRequestBuilder<'a, A, H>
[src]
Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none.
pub fn show(&self) -> FriendshipsShowRequestBuilder<'a, A, H>
[src]
Returns detailed information about the relationship between two arbitrary users.
pub fn create(&self) -> FriendshipsCreateRequestBuilder<'a, A, H>
[src]
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. Actions taken in this method are asynchronous and changes will be eventually consistent.
pub fn destroy(&self) -> FriendshipsDestroyRequestBuilder<'a, A, H>
[src]
Allows the authenticating user to unfollow the user specified in the ID parameter. Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. Actions taken in this method are asynchronous and changes will be eventually consistent.
pub fn update(&self) -> FriendshipsUpdateRequestBuilder<'a, A, H>
[src]
Allows one to enable or disable retweets and device notifications from the specified user.
Trait Implementations
impl<'a, A: Clone + 'a + Authenticator, H: Clone + 'a + HttpHandler> Clone for FriendshipsClient<'a, A, H>
[src]
fn clone(&self) -> FriendshipsClient<'a, A, H>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a, A: Debug + 'a + Authenticator, H: Debug + 'a + HttpHandler> Debug for FriendshipsClient<'a, A, H>
[src]
Auto Trait Implementations
impl<'a, A, H> Send for FriendshipsClient<'a, A, H> where
A: Sync,
H: Sync,
A: Sync,
H: Sync,
impl<'a, A, H> Sync for FriendshipsClient<'a, A, H> where
A: Sync,
H: Sync,
A: Sync,
H: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,