Struct fe2o3_amqp_management::operations::entity::ReadResponse
source · pub struct ReadResponse {
pub entity_attributes: OrderedMap<String, Value>,
}
Expand description
The response to a Read request.
Fields§
§entity_attributes: OrderedMap<String, Value>
The attributes of the Manageable Entity.
Trait Implementations§
source§impl Clone for ReadResponse
impl Clone for ReadResponse
source§fn clone(&self) -> ReadResponse
fn clone(&self) -> ReadResponse
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 ReadResponse
impl Debug for ReadResponse
source§impl Hash for ReadResponse
impl Hash for ReadResponse
source§impl Ord for ReadResponse
impl Ord for ReadResponse
source§fn cmp(&self, other: &ReadResponse) -> Ordering
fn cmp(&self, other: &ReadResponse) -> 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 ReadResponse
impl PartialEq for ReadResponse
source§fn eq(&self, other: &ReadResponse) -> bool
fn eq(&self, other: &ReadResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReadResponse
impl PartialOrd for ReadResponse
source§fn partial_cmp(&self, other: &ReadResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &ReadResponse) -> 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 ReadResponse
impl Response for ReadResponse
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 ReadResponse
impl StructuralPartialEq for ReadResponse
Auto Trait Implementations§
impl RefUnwindSafe for ReadResponse
impl Send for ReadResponse
impl Sync for ReadResponse
impl Unpin for ReadResponse
impl UnwindSafe for ReadResponse
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.