pub struct SubmissionInfo {
    pub url: Url,
    pub title: String,
    pub author: String,
    pub date: DateTime<FixedOffset>,
    pub forum: String,
    pub id: u64,
}

Fields

url: Url

The url of the article/site that the submission is pointing to.

title: String

The full title of the submission.

author: String

The username of the author of the submission.

date: DateTime<FixedOffset>

The date the submission is posted.

forum: String

The forum in which the submission is posted.

id: u64

The submission id for the forum.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.