pub struct ArchiveConfig {
pub chain: Chain,
pub application_start: ChainPoint,
pub retention: Retention,
}Expand description
The application start is independent of the chain genesis and header anchor. There is deliberately no implicit tip-minus-N or checkpoint-based default.
Fields§
§chain: Chain§application_start: ChainPoint§retention: RetentionTrait Implementations§
Source§impl Clone for ArchiveConfig
impl Clone for ArchiveConfig
Source§impl Debug for ArchiveConfig
impl Debug for ArchiveConfig
Source§impl<'de> Deserialize<'de> for ArchiveConfig
impl<'de> Deserialize<'de> for ArchiveConfig
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 ArchiveConfig
impl RefUnwindSafe for ArchiveConfig
impl Send for ArchiveConfig
impl Sync for ArchiveConfig
impl Unpin for ArchiveConfig
impl UnsafeUnpin for ArchiveConfig
impl UnwindSafe for ArchiveConfig
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