pub struct SizingChange {
pub at: u64,
pub profile: String,
pub from: Resize,
pub to: Resize,
pub reason: String,
pub uncertain: bool,
}Expand description
A profile’s memory and slots as auto sizing changed them in the config file.
Fields§
§at: u64When it was written.
profile: StringThe profile.
from: ResizeWhat they were: writing these back undoes it.
to: ResizeWhat they are now.
reason: StringWhy, as the advice said it then.
uncertain: boolWhether it may not have been written: recorded before its file was written, and the config no longer said
whether it was when runnerd looked again. It still holds the interval, and from is still what it replaced.
Implementations§
Trait Implementations§
Source§impl Clone for SizingChange
impl Clone for SizingChange
Source§impl Debug for SizingChange
impl Debug for SizingChange
Source§impl<'de> Deserialize<'de> for SizingChange
impl<'de> Deserialize<'de> for SizingChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SizingChange
Source§impl PartialEq for SizingChange
impl PartialEq for SizingChange
Source§impl Serialize for SizingChange
impl Serialize for SizingChange
impl StructuralPartialEq for SizingChange
Auto Trait Implementations§
impl Freeze for SizingChange
impl RefUnwindSafe for SizingChange
impl Send for SizingChange
impl Sync for SizingChange
impl Unpin for SizingChange
impl UnsafeUnpin for SizingChange
impl UnwindSafe for SizingChange
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.