pub struct MemoryTierEntry {
pub tier: String,
pub content: String,
}Expand description
A single tier entry (l0/l1/l2) for memory creation/update.
Fields§
§tier: String§content: StringTrait Implementations§
Source§impl Clone for MemoryTierEntry
impl Clone for MemoryTierEntry
Source§fn clone(&self) -> MemoryTierEntry
fn clone(&self) -> MemoryTierEntry
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 MemoryTierEntry
impl Debug for MemoryTierEntry
Source§impl<'de> Deserialize<'de> for MemoryTierEntry
impl<'de> Deserialize<'de> for MemoryTierEntry
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 MemoryTierEntry
impl RefUnwindSafe for MemoryTierEntry
impl Send for MemoryTierEntry
impl Sync for MemoryTierEntry
impl Unpin for MemoryTierEntry
impl UnsafeUnpin for MemoryTierEntry
impl UnwindSafe for MemoryTierEntry
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