pub struct User {
pub user: String,
/* private fields */
}Expand description
User.
Fields§
§user: StringUser’s name.
Implementations§
Source§impl User
impl User
Sourcepub async fn overview(
&self,
options: Option<FeedOption>,
) -> Result<Overview, RouxError>
pub async fn overview( &self, options: Option<FeedOption>, ) -> Result<Overview, RouxError>
Get user’s overview.
Sourcepub async fn submitted(
&self,
options: Option<FeedOption>,
) -> Result<Submissions, RouxError>
pub async fn submitted( &self, options: Option<FeedOption>, ) -> Result<Submissions, RouxError>
Get user’s submitted posts.
Auto Trait Implementations§
impl Freeze for User
impl !RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl !UnwindSafe for User
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