pub struct GameNews {
pub game_news: Vec<News>,
pub count: i16,
}
Expand description
Response from the GetNewsForApp API
Fields§
§game_news: Vec<News>
List of News
for a given game ID
count: i16
The total number of available news for the given game ID
Trait Implementations§
source§impl<'de> Deserialize<'de> for GameNews
impl<'de> Deserialize<'de> for GameNews
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 GameNews
impl RefUnwindSafe for GameNews
impl Send for GameNews
impl Sync for GameNews
impl Unpin for GameNews
impl UnwindSafe for GameNews
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