Trait rawr::traits::Created [] [src]

pub trait Created {
    fn created(&self) -> i64;
    fn created_utc(&self) -> i64;
}

An object that was created at some point (e.g. a subreddit, a submission or a comment)

Required Methods

fn created(&self) -> i64

The timestamp of the time when the post was created, as would be shown to the logged-in user.

fn created_utc(&self) -> i64

The timestamp of post creation, in UTC.

Implementors