pub struct HistoryLedgerV1 {
pub format_version: u16,
pub collection_index_ref: CollectionIndexRef,
pub revision: HistoryLedgerRevision,
pub policy: HistoryRetentionPolicyV1,
pub pages: Vec<HistoryPageRefV1>,
pub holds: Vec<HistoryHoldV1>,
}Expand description
Sole bounded metastore ledger for retained history page references.
Fields§
§format_version: u16§collection_index_ref: CollectionIndexRef§revision: HistoryLedgerRevision§policy: HistoryRetentionPolicyV1§pages: Vec<HistoryPageRefV1>§holds: Vec<HistoryHoldV1>Implementations§
Source§impl HistoryLedgerV1
impl HistoryLedgerV1
pub fn validate(&self) -> Result<(), RootHistoryContractError>
Trait Implementations§
Source§impl Clone for HistoryLedgerV1
impl Clone for HistoryLedgerV1
Source§impl Debug for HistoryLedgerV1
impl Debug for HistoryLedgerV1
Source§impl<'de> Deserialize<'de> for HistoryLedgerV1
impl<'de> Deserialize<'de> for HistoryLedgerV1
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 HistoryLedgerV1
Source§impl PartialEq for HistoryLedgerV1
impl PartialEq for HistoryLedgerV1
Source§impl Serialize for HistoryLedgerV1
impl Serialize for HistoryLedgerV1
impl StructuralPartialEq for HistoryLedgerV1
Auto Trait Implementations§
impl Freeze for HistoryLedgerV1
impl RefUnwindSafe for HistoryLedgerV1
impl Send for HistoryLedgerV1
impl Sync for HistoryLedgerV1
impl Unpin for HistoryLedgerV1
impl UnsafeUnpin for HistoryLedgerV1
impl UnwindSafe for HistoryLedgerV1
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