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
sourceimpl TVShow
impl TVShow
pub async fn count_children(
tx: &mut Transaction<'_>,
id: i64
) -> Result<i64, DatabaseError>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TVShow
impl<'de> Deserialize<'de> for TVShow
sourcefn 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
impl StructuralPartialEq for TVShow
Auto Trait Implementations
impl RefUnwindSafe for TVShow
impl Send for TVShow
impl Sync for TVShow
impl Unpin for TVShow
impl UnwindSafe for TVShow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more