#[non_exhaustive]pub struct ArchivalConfiguration {
pub archive_sites: Vec<String>,
pub archive_site_passwords: Vec<Option<Secret>>,
pub transfer_interval: Option<String>,
pub transfer_on_commit: bool,
}Expand description
The configuration block of system archival.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.archive_sites: Vec<String>Archive site URLs, with any password embedded in the URL removed.
archive_site_passwords: Vec<Option<Secret>>The password of each archive site, in the order of archive_sites: its password option, else the one embedded
in the URL. All None unless the secrets feature is enabled.
transfer_interval: Option<String>Minutes between transfers.
transfer_on_commit: boolTrait Implementations§
Source§impl Clone for ArchivalConfiguration
impl Clone for ArchivalConfiguration
Source§impl Debug for ArchivalConfiguration
impl Debug for ArchivalConfiguration
impl Eq for ArchivalConfiguration
Source§impl PartialEq for ArchivalConfiguration
impl PartialEq for ArchivalConfiguration
impl StructuralPartialEq for ArchivalConfiguration
Auto Trait Implementations§
impl Forget for ArchivalConfiguration
impl Freeze for ArchivalConfigurationwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<Option<Secret>>: Freeze,
PhantomData<u8>: Freeze,
impl Move for ArchivalConfiguration
impl RefUnwindSafe for ArchivalConfiguration
impl Send for ArchivalConfigurationwhere
RawVecInner: Send,
impl Sync for ArchivalConfigurationwhere
RawVecInner: Sync,
impl Unpin for ArchivalConfiguration
impl UnsafeUnpin for ArchivalConfigurationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Option<Secret>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ArchivalConfigurationwhere
RawVecInner: UnwindSafe,
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