pub struct AllocationHistory { /* private fields */ }Expand description
AllocationHistory
Durable allocation records and generation history.
This is the durable DTO embedded in an AllocationLedger. It records
allocation facts and generation diagnostics; callers should prefer ledger
staging/validation methods over mutating histories directly.
Implementations§
Source§impl AllocationHistory
impl AllocationHistory
Sourcepub fn records(&self) -> &[AllocationRecord]
pub fn records(&self) -> &[AllocationRecord]
Borrow stable-key allocation records in durable order.
Sourcepub fn generations(&self) -> &[GenerationRecord]
pub fn generations(&self) -> &[GenerationRecord]
Borrow committed generation records in durable order.
Trait Implementations§
Source§impl Clone for AllocationHistory
impl Clone for AllocationHistory
Source§fn clone(&self) -> AllocationHistory
fn clone(&self) -> AllocationHistory
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 AllocationHistory
impl Debug for AllocationHistory
Source§impl Default for AllocationHistory
impl Default for AllocationHistory
Source§fn default() -> AllocationHistory
fn default() -> AllocationHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocationHistory
impl<'de> Deserialize<'de> for AllocationHistory
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
Source§impl PartialEq for AllocationHistory
impl PartialEq for AllocationHistory
Source§fn eq(&self, other: &AllocationHistory) -> bool
fn eq(&self, other: &AllocationHistory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AllocationHistory
impl Serialize for AllocationHistory
impl Eq for AllocationHistory
impl StructuralPartialEq for AllocationHistory
Auto Trait Implementations§
impl Freeze for AllocationHistory
impl RefUnwindSafe for AllocationHistory
impl Send for AllocationHistory
impl Sync for AllocationHistory
impl Unpin for AllocationHistory
impl UnsafeUnpin for AllocationHistory
impl UnwindSafe for AllocationHistory
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