pub struct User<'a, A: Authenticator> {
pub user: AboutUser,
/* private fields */
}
Expand description
The User Object for Reddit
Fields§
§user: AboutUser
Implementations§
source§impl<'a, A: Authenticator> User<'a, A>
impl<'a, A: Authenticator> User<'a, A>
sourcepub async fn comments(
&self,
feed: Option<FeedOption>
) -> Result<CommentsResponse, Error>
pub async fn comments( &self, feed: Option<FeedOption> ) -> Result<CommentsResponse, Error>
Comments
sourcepub async fn submissions(
&self,
feed: Option<FeedOption>
) -> Result<SubmissionsResponse, Error>
pub async fn submissions( &self, feed: Option<FeedOption> ) -> Result<SubmissionsResponse, Error>
user Submissions
sourcepub async fn overview(
&self,
feed: Option<FeedOption>
) -> Result<RedditListing, Error>
pub async fn overview( &self, feed: Option<FeedOption> ) -> Result<RedditListing, Error>
User Overview
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> !RefUnwindSafe for User<'a, A>
impl<'a, A> Send for User<'a, A>
impl<'a, A> Sync for User<'a, A>
impl<'a, A> Unpin for User<'a, A>
impl<'a, A> !UnwindSafe for User<'a, 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