pub struct FlushReport {
pub items: usize,
pub mtime: bool,
pub metadata: bool,
pub tags: bool,
pub saved_filters: bool,
}Expand description
What a Library::flush wrote.
Fields§
§items: usizeItem metadata.json files written.
mtime: bool§metadata: bool§saved_filters: boolImplementations§
Source§impl FlushReport
impl FlushReport
Sourcepub fn wants_backup(&self) -> bool
pub fn wants_backup(&self) -> bool
Whether mtime.json or metadata.json was written. Eagle backs
the metadata up after it rewrites mtime.json, so callers that keep
backups (the app) schedule one when this is true.
Trait Implementations§
Source§impl Clone for FlushReport
impl Clone for FlushReport
Source§fn clone(&self) -> FlushReport
fn clone(&self) -> FlushReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlushReport
impl Debug for FlushReport
Source§impl Default for FlushReport
impl Default for FlushReport
Source§fn default() -> FlushReport
fn default() -> FlushReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for FlushReport
impl PartialEq for FlushReport
impl StructuralPartialEq for FlushReport
Auto Trait Implementations§
impl Freeze for FlushReport
impl RefUnwindSafe for FlushReport
impl Send for FlushReport
impl Sync for FlushReport
impl Unpin for FlushReport
impl UnsafeUnpin for FlushReport
impl UnwindSafe for FlushReport
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().