Struct rraw::responses::submission::Submission[][src]

pub struct Submission {
Show fields pub domain: String, pub subreddit: String, pub selftext_html: Option<String>, pub selftext: String, pub likes: Option<bool>, pub id: String, pub author: String, pub score: f64, pub num_comments: u64, pub thumbnail: String, pub subreddit_id: String, pub downs: f64, pub ups: f64, pub stickied: bool, pub locked: bool, pub name: String, pub created: f64, pub url: Option<String>, pub title: String, pub created_utc: f64, pub distinguished: Option<String>,
}

Fields

domain: Stringsubreddit: Stringselftext_html: Option<String>selftext: Stringlikes: Option<bool>id: Stringauthor: Stringscore: f64num_comments: u64thumbnail: Stringsubreddit_id: Stringdowns: f64ups: f64stickied: boollocked: boolname: Stringcreated: f64url: Option<String>title: Stringcreated_utc: f64distinguished: Option<String>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.