pub(super) enum CatalogDownloadPlan {
Current {
current_hash: String,
target_hash: String,
},
Full {
catalog_url: String,
metadata_url: String,
expected_hash: Option<String>,
},
Patch {
patch_urls: Vec<String>,
expected_hash: String,
},
}Expand description
The internal plan used by the refresh workflow after API selection.
Variants§
Current
No refresh work is needed because the hashes already match.
Fields
Full
Download a complete snapshot and its metadata.
Fields
Patch
Apply one or more ordered SQL patch files.
Trait Implementations§
Source§impl Clone for CatalogDownloadPlan
impl Clone for CatalogDownloadPlan
Source§fn clone(&self) -> CatalogDownloadPlan
fn clone(&self) -> CatalogDownloadPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CatalogDownloadPlan
impl RefUnwindSafe for CatalogDownloadPlan
impl Send for CatalogDownloadPlan
impl Sync for CatalogDownloadPlan
impl Unpin for CatalogDownloadPlan
impl UnwindSafe for CatalogDownloadPlan
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