pub(super) struct CatalogUpdateResponse {
pub mode: CatalogUpdateMode,
pub current: String,
pub target: String,
pub snapshot: Option<String>,
pub patches: Vec<String>,
}Expand description
Data transfer objects for catalog update selection and download planning.
Fields§
§mode: CatalogUpdateModeThe update strategy selected by the API.
current: StringThe catalog hash the API considers current for the local client.
target: StringThe hash the refreshed catalog should end up with.
snapshot: Option<String>The full snapshot URL when the API returns a full snapshot plan.
patches: Vec<String>Ordered patch URLs when the API returns a patch plan.
Trait Implementations§
Source§impl Clone for CatalogUpdateResponse
impl Clone for CatalogUpdateResponse
Source§fn clone(&self) -> CatalogUpdateResponse
fn clone(&self) -> CatalogUpdateResponse
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 moreSource§impl Debug for CatalogUpdateResponse
impl Debug for CatalogUpdateResponse
Source§impl<'de> Deserialize<'de> for CatalogUpdateResponse
impl<'de> Deserialize<'de> for CatalogUpdateResponse
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 CatalogUpdateResponse
impl RefUnwindSafe for CatalogUpdateResponse
impl Send for CatalogUpdateResponse
impl Sync for CatalogUpdateResponse
impl Unpin for CatalogUpdateResponse
impl UnwindSafe for CatalogUpdateResponse
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