Struct fe2o3_amqp_management::operations::entity::UpdateResponse
source · pub struct UpdateResponse {
pub entity_attributes: OrderedMap<String, Value>,
}
Expand description
If the request was successful then the statusCode MUST contain 200 (OK) and the body of the message MUST consists of an amqp-value section containing a map of the actual attributes of the entity updated. These MAY differ from those requested.
A map containing attributes that are not applicable for the entity being created, or an invalid value for a given attribute (excepting type conversion as above), MUST result in a failure response with a statusCode of 400 (Bad Request).
Fields§
§entity_attributes: OrderedMap<String, Value>
The entity attributes.
Trait Implementations§
source§impl Clone for UpdateResponse
impl Clone for UpdateResponse
source§fn clone(&self) -> UpdateResponse
fn clone(&self) -> UpdateResponse
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 UpdateResponse
impl Debug for UpdateResponse
source§impl Hash for UpdateResponse
impl Hash for UpdateResponse
source§impl Ord for UpdateResponse
impl Ord for UpdateResponse
source§fn cmp(&self, other: &UpdateResponse) -> Ordering
fn cmp(&self, other: &UpdateResponse) -> 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 UpdateResponse
impl PartialEq for UpdateResponse
source§fn eq(&self, other: &UpdateResponse) -> bool
fn eq(&self, other: &UpdateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UpdateResponse
impl PartialOrd for UpdateResponse
source§fn partial_cmp(&self, other: &UpdateResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &UpdateResponse) -> 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 UpdateResponse
impl Response for UpdateResponse
source§const STATUS_CODE: u16 = 200u16
const STATUS_CODE: u16 = 200u16
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 UpdateResponse
impl StructuralPartialEq for UpdateResponse
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResponse
impl Send for UpdateResponse
impl Sync for UpdateResponse
impl Unpin for UpdateResponse
impl UnwindSafe for UpdateResponse
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.