#[non_exhaustive]pub enum ArtifactFetch {
Body(DownloadedArtifact),
#[non_exhaustive] NotModified {
etag: Option<String>,
cache_control: Option<String>,
vary: Option<String>,
},
}Expand description
Artifact download result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Body(DownloadedArtifact)
A response body.
#[non_exhaustive]NotModified
Conditional GET found the selected representation unchanged.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Trait Implementations§
Source§impl Clone for ArtifactFetch
impl Clone for ArtifactFetch
Source§impl Debug for ArtifactFetch
impl Debug for ArtifactFetch
impl Eq for ArtifactFetch
Source§impl PartialEq for ArtifactFetch
impl PartialEq for ArtifactFetch
impl StructuralPartialEq for ArtifactFetch
Auto Trait Implementations§
impl Forget for ArtifactFetch
impl Freeze for ArtifactFetch
impl RefUnwindSafe for ArtifactFetch
impl Send for ArtifactFetch
impl Sync for ArtifactFetch
impl Unpin for ArtifactFetch
impl UnsafeUnpin for ArtifactFetch
impl UnwindSafe for ArtifactFetch
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