[][src]Struct roux::user::User

pub struct User {
    pub user: String,
    // some fields omitted
}

User.

Fields

user: String

User's name.

Methods

impl User[src]

pub fn new(user: &str) -> User[src]

Create a new User instance.

pub fn overview(
    &self
) -> Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError>
[src]

Get user's overview.

pub fn submitted(
    &self
) -> Result<BasicThing<Listing<BasicThing<SubmittedData>>>, RouxError>
[src]

Get user's submitted posts.

pub fn comments(
    &self
) -> Result<BasicThing<Listing<BasicThing<CommentsData>>>, RouxError>
[src]

Get user's submitted comments.

Auto Trait Implementations

impl Unpin for User

impl Sync for User

impl Send for User

impl !RefUnwindSafe for User

impl !UnwindSafe for User

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err