pub struct Created(pub ResourceObject);Available on crate feature
http only.Expand description
201 Created with the resource and its Location header.
The location is the resource’s own self link, so it is never spelled
separately.
Tuple Fields§
§0: ResourceObjectTrait Implementations§
Source§impl IntoResponse for Created
impl IntoResponse for Created
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for Created
impl RefUnwindSafe for Created
impl Send for Created
impl Sync for Created
impl Unpin for Created
impl UnsafeUnpin for Created
impl UnwindSafe for Created
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