pub struct MediaByType {
pub images: usize,
pub audio: usize,
pub video: usize,
pub other: usize,
}Expand description
Media file counts by type.
Fields§
§images: usizeNumber of image files.
audio: usizeNumber of audio files.
video: usizeNumber of video files.
other: usizeNumber of other files.
Trait Implementations§
Source§impl Clone for MediaByType
impl Clone for MediaByType
Source§fn clone(&self) -> MediaByType
fn clone(&self) -> MediaByType
Returns a duplicate 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 MediaByType
impl Debug for MediaByType
Source§impl Default for MediaByType
impl Default for MediaByType
Source§fn default() -> MediaByType
fn default() -> MediaByType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MediaByType
impl RefUnwindSafe for MediaByType
impl Send for MediaByType
impl Sync for MediaByType
impl Unpin for MediaByType
impl UnwindSafe for MediaByType
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