pub struct CreateResponse<T: Into<Uuid>> {
pub id: T,
}
Expand description
Response for successfuly creating a Resource.
Fields§
§id: T
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
Auto Trait Implementations§
impl<T> Freeze for CreateResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateResponse<T>where
T: RefUnwindSafe,
impl<T> Send for CreateResponse<T>where
T: Send,
impl<T> Sync for CreateResponse<T>where
T: Sync,
impl<T> Unpin for CreateResponse<T>where
T: Unpin,
impl<T> UnwindSafe for CreateResponse<T>where
T: UnwindSafe,
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