pub type CreateResponse = CreateResponse<ImageId>;
Expand description
Response for successfully creating a Image.
Aliased Type§
struct CreateResponse {
pub id: ImageId,
}
Fields§
§id: ImageId
The newly created resource’s ID.
Trait Implementations
Source§impl<T: Clone + Into<Uuid>> Clone for CreateResponse<T>
impl<T: Clone + Into<Uuid>> Clone for CreateResponse<T>
Source§fn clone(&self) -> CreateResponse<T>
fn clone(&self) -> CreateResponse<T>
Returns a copy 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<'de, T> Deserialize<'de> for CreateResponse<T>
impl<'de, T> Deserialize<'de> for CreateResponse<T>
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