pub struct TwitterApiWithUserCtx<A> { /* private fields */ }Implementations§
Source§impl<A> TwitterApiWithUserCtx<A>where
A: Authorization,
impl<A> TwitterApiWithUserCtx<A>where
A: Authorization,
pub fn get_my_owned_lists( &self, ) -> GetPaginatedListsRequestBuilder<A, Vec<List>, ResultCountMeta>
pub fn get_my_list_memberships( &self, ) -> GetPaginatedListsRequestBuilder<A, Vec<List>, ResultCountMeta>
pub fn get_my_followed_lists( &self, ) -> GetPaginatedListsRequestBuilder<A, Vec<List>, ResultCountMeta>
pub async fn post_my_followed_list( &self, list_id: impl IntoNumericId, ) -> ApiResult<A, Following, ()>
pub async fn delete_my_followed_list( &self, list_id: impl IntoNumericId, ) -> ApiResult<A, Following, ()>
pub async fn post_my_pinned_list( &self, list_id: impl IntoNumericId, ) -> ApiResult<A, Pinned, ()>
pub async fn delete_my_pinned_list( &self, list_id: impl IntoNumericId, ) -> ApiResult<A, Pinned, ()>
pub fn get_my_spaces( &self, ) -> GetSpacesRequestBuilder<A, Vec<Space>, SimpleResultCountMeta>
pub fn get_my_tweets( &self, ) -> GetTimelineRequestBuilder<A, Vec<Tweet>, TweetsMeta>
pub fn get_my_mentions( &self, ) -> GetTimelineRequestBuilder<A, Vec<Tweet>, TweetsMeta>
pub fn get_my_followers( &self, ) -> GetRelatedUsersRequestBuilder<A, Vec<User>, ResultCountMeta>
pub fn get_my_following( &self, ) -> GetRelatedUsersRequestBuilder<A, Vec<User>, ResultCountMeta>
pub async fn post_my_following( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Following, ()>
pub async fn delete_my_following( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Following, ()>
pub fn get_my_blocking( &self, ) -> GetRelatedUsersRequestBuilder<A, Vec<User>, ResultCountMeta>
pub async fn post_my_blocking( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Blocking, ()>
pub async fn delete_my_blocking( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Blocking, ()>
pub async fn post_my_muting( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Muting, ()>
pub async fn delete_my_muting( &self, target_user_id: impl IntoNumericId, ) -> ApiResult<A, Muting, ()>
Auto Trait Implementations§
impl<A> Freeze for TwitterApiWithUserCtx<A>
impl<A> !RefUnwindSafe for TwitterApiWithUserCtx<A>
impl<A> Send for TwitterApiWithUserCtx<A>
impl<A> Sync for TwitterApiWithUserCtx<A>
impl<A> Unpin for TwitterApiWithUserCtx<A>
impl<A> !UnwindSafe for TwitterApiWithUserCtx<A>
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