pub struct StoredEpisode {
pub id: i64,
pub media_id: i64,
pub season_number: Option<i32>,
pub episode_number: Option<i32>,
pub absolute_number: Option<i32>,
pub title_display: Option<String>,
pub title_original: Option<String>,
pub titles_json: Option<Value>,
pub synopsis: Option<String>,
pub air_date: Option<String>,
pub runtime_minutes: Option<i32>,
pub thumbnail_url: Option<String>,
}Expand description
Canonical episode data persisted in the local SQLite episode table.
This is the merged, provider-neutral form. When multiple providers supply episode data for the same media item, the merge engine selects field values from the highest-priority provider per field.
Fields§
§id: i64Primary key in the local episode table.
media_id: i64Foreign key to the parent media record in media.id.
season_number: Option<i32>§episode_number: Option<i32>§absolute_number: Option<i32>§title_display: Option<String>§title_original: Option<String>§titles_json: Option<Value>§synopsis: Option<String>§air_date: Option<String>§runtime_minutes: Option<i32>§thumbnail_url: Option<String>Trait Implementations§
Source§impl Clone for StoredEpisode
impl Clone for StoredEpisode
Source§fn clone(&self) -> StoredEpisode
fn clone(&self) -> StoredEpisode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoredEpisode
impl Debug for StoredEpisode
Source§impl<'de> Deserialize<'de> for StoredEpisode
impl<'de> Deserialize<'de> for StoredEpisode
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 StoredEpisode
impl PartialEq for StoredEpisode
Source§fn eq(&self, other: &StoredEpisode) -> bool
fn eq(&self, other: &StoredEpisode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredEpisode
impl Serialize for StoredEpisode
impl StructuralPartialEq for StoredEpisode
Auto Trait Implementations§
impl Freeze for StoredEpisode
impl RefUnwindSafe for StoredEpisode
impl Send for StoredEpisode
impl Sync for StoredEpisode
impl Unpin for StoredEpisode
impl UnsafeUnpin for StoredEpisode
impl UnwindSafe for StoredEpisode
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