pub struct FormatJson {Show 16 fields
pub date: Option<String>,
pub market: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub headline: Option<String>,
pub description: Option<String>,
pub copyright: Option<String>,
pub copyright_link: Option<String>,
pub quiz_id: Option<String>,
pub trivia: Option<Box<FormatJsonTrivia>>,
pub resolution: Option<String>,
pub image_url: Option<String>,
pub image_url_4k: Option<String>,
pub image_url_1080: Option<String>,
pub fetched_at: Option<String>,
pub updated_at: Option<String>,
}Fields§
§date: Option<String>§market: Option<String>§title: Option<String>§subtitle: Option<String>§headline: Option<String>§description: Option<String>§copyright: Option<String>§copyright_link: Option<String>§quiz_id: Option<String>§trivia: Option<Box<FormatJsonTrivia>>§resolution: Option<String>§image_url: Option<String>§image_url_4k: Option<String>§image_url_1080: Option<String>§fetched_at: Option<String>§updated_at: Option<String>Implementations§
Source§impl FormatJson
impl FormatJson
pub fn new() -> FormatJson
Trait Implementations§
Source§impl Clone for FormatJson
impl Clone for FormatJson
Source§fn clone(&self) -> FormatJson
fn clone(&self) -> FormatJson
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatJson
impl Debug for FormatJson
Source§impl Default for FormatJson
impl Default for FormatJson
Source§fn default() -> FormatJson
fn default() -> FormatJson
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FormatJson
impl<'de> Deserialize<'de> for FormatJson
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
Source§impl PartialEq for FormatJson
impl PartialEq for FormatJson
Source§impl Serialize for FormatJson
impl Serialize for FormatJson
impl StructuralPartialEq for FormatJson
Auto Trait Implementations§
impl Freeze for FormatJson
impl RefUnwindSafe for FormatJson
impl Send for FormatJson
impl Sync for FormatJson
impl Unpin for FormatJson
impl UnsafeUnpin for FormatJson
impl UnwindSafe for FormatJson
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