pub enum FetchUrlResponse {
Success {
artifact: Box<str>,
},
NotFound,
Failure {
description: Box<str>,
},
}
Variants§
Success
Success. Payload contains URL of the artifact.
NotFound
Asset not found
Failure
Failure response to any store request.
Trait Implementations§
Source§impl Debug for FetchUrlResponse
impl Debug for FetchUrlResponse
Source§impl<'de> Deserialize<'de> for FetchUrlResponse
impl<'de> Deserialize<'de> for FetchUrlResponse
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 FetchUrlResponse
impl RefUnwindSafe for FetchUrlResponse
impl Send for FetchUrlResponse
impl Sync for FetchUrlResponse
impl Unpin for FetchUrlResponse
impl UnwindSafe for FetchUrlResponse
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