pub struct MediaAudit {
pub total_files: usize,
pub total_size_bytes: u64,
pub orphaned: Vec<String>,
pub missing: Vec<MissingMedia>,
pub by_type: MediaByType,
}Expand description
Result of a media audit.
Fields§
§total_files: usizeTotal number of media files.
total_size_bytes: u64Total size of media files in bytes.
orphaned: Vec<String>Media files not referenced by any note.
missing: Vec<MissingMedia>Media references in notes that don’t exist.
by_type: MediaByTypeMedia files by type.
Trait Implementations§
Source§impl Clone for MediaAudit
impl Clone for MediaAudit
Source§fn clone(&self) -> MediaAudit
fn clone(&self) -> MediaAudit
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 MediaAudit
impl Debug for MediaAudit
Source§impl Default for MediaAudit
impl Default for MediaAudit
Source§fn default() -> MediaAudit
fn default() -> MediaAudit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MediaAudit
impl RefUnwindSafe for MediaAudit
impl Send for MediaAudit
impl Sync for MediaAudit
impl Unpin for MediaAudit
impl UnwindSafe for MediaAudit
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