pub struct MemoryLedgerMemoryEntry {
pub memory_manager_id: u8,
pub stable_key: String,
pub state: MemoryAllocationState,
pub size: MemoryAllocationSizeEntry,
}Expand description
MemoryLedgerMemoryEntry
Fields§
§memory_manager_id: u8§stable_key: String§state: MemoryAllocationState§size: MemoryAllocationSizeEntryTrait Implementations§
Source§impl CandidType for MemoryLedgerMemoryEntry
impl CandidType for MemoryLedgerMemoryEntry
Source§impl Clone for MemoryLedgerMemoryEntry
impl Clone for MemoryLedgerMemoryEntry
Source§fn clone(&self) -> MemoryLedgerMemoryEntry
fn clone(&self) -> MemoryLedgerMemoryEntry
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 MemoryLedgerMemoryEntry
impl Debug for MemoryLedgerMemoryEntry
Source§impl<'de> Deserialize<'de> for MemoryLedgerMemoryEntry
impl<'de> Deserialize<'de> for MemoryLedgerMemoryEntry
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 MemoryLedgerMemoryEntry
Source§impl PartialEq for MemoryLedgerMemoryEntry
impl PartialEq for MemoryLedgerMemoryEntry
Source§fn eq(&self, other: &MemoryLedgerMemoryEntry) -> bool
fn eq(&self, other: &MemoryLedgerMemoryEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryLedgerMemoryEntry
Auto Trait Implementations§
impl Freeze for MemoryLedgerMemoryEntry
impl RefUnwindSafe for MemoryLedgerMemoryEntry
impl Send for MemoryLedgerMemoryEntry
impl Sync for MemoryLedgerMemoryEntry
impl Unpin for MemoryLedgerMemoryEntry
impl UnsafeUnpin for MemoryLedgerMemoryEntry
impl UnwindSafe for MemoryLedgerMemoryEntry
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