pub struct NewsInner {
pub date: String,
pub image_link: String,
pub eta: String,
pub prime_access: bool,
pub stream: bool,
pub translations: Option<Box<NewsInnerTranslations>>,
pub link: String,
pub update: bool,
pub id: String,
pub as_string: String,
pub message: String,
pub priority: bool,
}Fields§
§date: String§image_link: String§eta: String§prime_access: bool§stream: bool§translations: Option<Box<NewsInnerTranslations>>§link: String§update: bool§id: String§as_string: String§message: String§priority: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewsInner
impl<'de> Deserialize<'de> for NewsInner
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
impl StructuralPartialEq for NewsInner
Auto Trait Implementations§
impl Freeze for NewsInner
impl RefUnwindSafe for NewsInner
impl Send for NewsInner
impl Sync for NewsInner
impl Unpin for NewsInner
impl UnwindSafe for NewsInner
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