pub struct TVShow {
pub id: i64,
}
Expand description
Struct represents a tv show entry in the database. This is mostly used as a marker to mark shows from movies, and episodes.
Fields§
§id: i64
id of a media object we marked as a tv show.
Implementations§
source§impl TVShow
impl TVShow
pub async fn count_children(
tx: &mut Transaction<'_>,
id: i64
) -> Result<i64, DatabaseError>
Trait Implementations§
source§impl<'de> Deserialize<'de> for TVShow
impl<'de> Deserialize<'de> for TVShow
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