pub struct MutationResponse {
pub status: u16,
pub location: Option<String>,
}Expand description
Response for POST/PUT/DELETE calls that may return an empty body.
Fields§
§status: u16§location: Option<String>Trait Implementations§
Source§impl Clone for MutationResponse
impl Clone for MutationResponse
Source§fn clone(&self) -> MutationResponse
fn clone(&self) -> MutationResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MutationResponse
impl Debug for MutationResponse
Auto Trait Implementations§
impl Freeze for MutationResponse
impl RefUnwindSafe for MutationResponse
impl Send for MutationResponse
impl Sync for MutationResponse
impl Unpin for MutationResponse
impl UnsafeUnpin for MutationResponse
impl UnwindSafe for MutationResponse
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