shared::domain::image

Type Alias CreateResponse

Source
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>

Source§

fn clone(&self) -> CreateResponse<T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug + Into<Uuid>> Debug for CreateResponse<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, T> Deserialize<'de> for CreateResponse<T>
where T: Deserialize<'de> + Into<Uuid>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<T> Serialize for CreateResponse<T>
where T: Serialize + Into<Uuid>,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more