Struct fe2o3_amqp_management::operations::entity::DeleteResponse
source · pub struct DeleteResponse {
pub empty_map: OrderedMap<String, Value>,
}
Expand description
The response to a Delete request.
Fields§
§empty_map: OrderedMap<String, Value>
The body of the message MUST consist of an amqp-value section containing a map with zero entries. If the request was successful then the statusCode MUST be 204 (No Content).
Trait Implementations§
source§impl Clone for DeleteResponse
impl Clone for DeleteResponse
source§fn clone(&self) -> DeleteResponse
fn clone(&self) -> DeleteResponse
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 Debug for DeleteResponse
impl Debug for DeleteResponse
source§impl Hash for DeleteResponse
impl Hash for DeleteResponse
source§impl Ord for DeleteResponse
impl Ord for DeleteResponse
source§fn cmp(&self, other: &DeleteResponse) -> Ordering
fn cmp(&self, other: &DeleteResponse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DeleteResponse
impl PartialEq for DeleteResponse
source§fn eq(&self, other: &DeleteResponse) -> bool
fn eq(&self, other: &DeleteResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeleteResponse
impl PartialOrd for DeleteResponse
source§fn partial_cmp(&self, other: &DeleteResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &DeleteResponse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Response for DeleteResponse
impl Response for DeleteResponse
source§const STATUS_CODE: u16 = 204u16
const STATUS_CODE: u16 = 204u16
The status code of the response.
source§fn decode_message(message: Message<Self::Body>) -> Result<Self, Self::Error>
fn decode_message(message: Message<Self::Body>) -> Result<Self, Self::Error>
Decodes the response from the message. Read more
source§fn verify_status_code(
message: &mut Message<Self::Body>
) -> Result<StatusCode, Self::Error>
fn verify_status_code( message: &mut Message<Self::Body> ) -> Result<StatusCode, Self::Error>
Checks the status code and description of the response and returns
None
if status code is
not found or returns Some(Err(error))
if the status code is not the expected one. Read moreimpl Eq for DeleteResponse
impl StructuralPartialEq for DeleteResponse
Auto Trait Implementations§
impl RefUnwindSafe for DeleteResponse
impl Send for DeleteResponse
impl Sync for DeleteResponse
impl Unpin for DeleteResponse
impl UnwindSafe for DeleteResponse
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.