pub enum FindResponse {
Success {
id: AssetId,
path: 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 FindResponse
impl Debug for FindResponse
Source§impl<'de> Deserialize<'de> for FindResponse
impl<'de> Deserialize<'de> for FindResponse
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 FindResponse
impl RefUnwindSafe for FindResponse
impl Send for FindResponse
impl Sync for FindResponse
impl Unpin for FindResponse
impl UnwindSafe for FindResponse
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