pub struct AutoSizing {
pub last: BTreeMap<String, u64>,
pub pending: Vec<(i64, SizingChange)>,
}Expand description
Auto sizing as the history keeps it: when each profile last changed, and changes not yet known to be written.
Fields§
§last: BTreeMap<String, u64>The latest pending or done change of each profile, in seconds, however old.
pending: Vec<(i64, SizingChange)>Changes recorded before their file was written and not resolved since, by row.
Trait Implementations§
Source§impl Clone for AutoSizing
impl Clone for AutoSizing
Source§impl Debug for AutoSizing
impl Debug for AutoSizing
Source§impl Default for AutoSizing
impl Default for AutoSizing
impl Eq for AutoSizing
Source§impl PartialEq for AutoSizing
impl PartialEq for AutoSizing
impl StructuralPartialEq for AutoSizing
Auto Trait Implementations§
impl Freeze for AutoSizing
impl RefUnwindSafe for AutoSizing
impl Send for AutoSizing
impl Sync for AutoSizing
impl Unpin for AutoSizing
impl UnsafeUnpin for AutoSizing
impl UnwindSafe for AutoSizing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.