pub struct TierChange {
pub id: String,
pub from_tier: MemoryTier,
pub to_tier: MemoryTier,
pub reason: String,
}Expand description
A tier change suggestion.
Fields§
§id: String§from_tier: MemoryTier§to_tier: MemoryTier§reason: StringTrait Implementations§
Source§impl Clone for TierChange
impl Clone for TierChange
Source§fn clone(&self) -> TierChange
fn clone(&self) -> TierChange
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 TierChange
impl Debug for TierChange
Source§impl<'de> Deserialize<'de> for TierChange
impl<'de> Deserialize<'de> for TierChange
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
Auto Trait Implementations§
impl Freeze for TierChange
impl RefUnwindSafe for TierChange
impl Send for TierChange
impl Sync for TierChange
impl Unpin for TierChange
impl UnsafeUnpin for TierChange
impl UnwindSafe for TierChange
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