pub struct Created {
pub created: f64,
pub created_utc: f64,
}
Expand description
Implementation See https://github.com/reddit-archive/reddit/wiki/JSON#created-implementation
Fields§
§created: f64
the time of creation in local epoch-second format. ex: 1331042771.0
created_utc: f64
the time of creation in UTC epoch-second format. Note that neither of these ever have a non-zero fraction.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Created
impl<'de> Deserialize<'de> for Created
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Created
impl RefUnwindSafe for Created
impl Send for Created
impl Sync for Created
impl Unpin for Created
impl UnwindSafe for Created
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