Struct tasvideos_api_rs::Publication
source · pub struct Publication {Show 20 fields
pub id: Option<i32>,
pub title: Option<String>,
pub branch: Option<String>,
pub emulator_version: Option<String>,
pub class: Option<String>,
pub system_code: Option<String>,
pub submission_id: Option<i32>,
pub game_id: Option<i32>,
pub game_version_id: Option<i32>,
pub obsoleted_by_id: Option<i32>,
pub frames: Option<i32>,
pub rerecord_count: Option<i32>,
pub system_frame_rate: Option<f64>,
pub movie_file_name: Option<String>,
pub additional_authors: Option<String>,
pub authors: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub flags: Option<Vec<String>>,
pub urls: Option<Vec<String>>,
pub file_paths: Option<Vec<String>>,
}
Expand description
Represents a TASVideos movie publication.
Fields§
§id: Option<i32>
§title: Option<String>
§branch: Option<String>
§emulator_version: Option<String>
§class: Option<String>
§system_code: Option<String>
§submission_id: Option<i32>
§game_id: Option<i32>
§game_version_id: Option<i32>
§obsoleted_by_id: Option<i32>
§frames: Option<i32>
§rerecord_count: Option<i32>
§system_frame_rate: Option<f64>
§movie_file_name: Option<String>
§flags: Option<Vec<String>>
§urls: Option<Vec<String>>
§file_paths: Option<Vec<String>>
Trait Implementations§
source§impl Clone for Publication
impl Clone for Publication
source§fn clone(&self) -> Publication
fn clone(&self) -> Publication
Returns a copy 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 Publication
impl Debug for Publication
source§impl Default for Publication
impl Default for Publication
source§fn default() -> Publication
fn default() -> Publication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Publication
impl<'de> Deserialize<'de> for Publication
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<Publication> for Publication
impl PartialEq<Publication> for Publication
source§fn eq(&self, other: &Publication) -> bool
fn eq(&self, other: &Publication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Publication
impl Serialize for Publication
impl StructuralPartialEq for Publication
Auto Trait Implementations§
impl RefUnwindSafe for Publication
impl Send for Publication
impl Sync for Publication
impl Unpin for Publication
impl UnwindSafe for Publication
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