pub struct Movie;
Implementations
sourceimpl Movie
impl Movie
sourcepub async fn count_children(
conn: &mut Transaction<'_>,
id: i64
) -> Result<i64, DatabaseError>
pub async fn count_children(
conn: &mut Transaction<'_>,
id: i64
) -> Result<i64, DatabaseError>
Method will return the number of mediafiles linked against this media object.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Movie
impl Send for Movie
impl Sync for Movie
impl Unpin for Movie
impl UnwindSafe for Movie
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