pub struct NewsItem {
pub item: Value,
pub link: String,
pub title: String,
pub text: String,
pub extra: JsonObject,
}Expand description
A SkyBlock news item, as returned by skyblock/news.
Fields§
§item: Value§link: String§title: String§text: String§extra: JsonObjectTrait Implementations§
Source§impl<'de> Deserialize<'de> for NewsItem
impl<'de> Deserialize<'de> for NewsItem
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 NewsItem
impl RefUnwindSafe for NewsItem
impl Send for NewsItem
impl Sync for NewsItem
impl Unpin for NewsItem
impl UnsafeUnpin for NewsItem
impl UnwindSafe for NewsItem
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