pub struct News {
pub news_id: String,
pub title: String,
pub url: String,
pub author: String,
pub contents: String,
pub date: i64,
pub feed_name: String,
}
Expand description
A Steam news object
Fields§
§news_id: String
News ID
title: String
Title
url: String
URL
News author
contents: String
News content
date: i64
Date as UNIX timestamp
feed_name: String
Name of the feed
Trait Implementations§
source§impl<'de> Deserialize<'de> for News
impl<'de> Deserialize<'de> for News
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 News
impl RefUnwindSafe for News
impl Send for News
impl Sync for News
impl Unpin for News
impl UnwindSafe for News
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