pub struct GetAttributesResponse {
pub body: OrderedMap<String, Vec<String>>,
}
Expand description
If the request was successful then the statusCode MUST be 200 (OK) and the body of the message MUST contain a map. The keys in the map MUST be the set of Manageable Entity Types for which attribute names are being provided. For any given key, the value MUST be a list of strings representing the attribute names that this Manageable Entity Type possesses. It should be noted that for each entry in the map, the attribute names returned MUST be only those defined by the associated Manageable Entity Type rather than those that are defined by other Manageable Entity Types that extend it. For any given Manageable Entity Type, the set of attribute names returned MUST include every attribute name defined by Manageable Entity Types that it extends, either directly or indirectly.
Fields§
§body: OrderedMap<String, Vec<String>>
The response body.
Trait Implementations§
source§impl Clone for GetAttributesResponse
impl Clone for GetAttributesResponse
source§fn clone(&self) -> GetAttributesResponse
fn clone(&self) -> GetAttributesResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetAttributesResponse
impl Debug for GetAttributesResponse
source§impl Hash for GetAttributesResponse
impl Hash for GetAttributesResponse
source§impl Ord for GetAttributesResponse
impl Ord for GetAttributesResponse
source§fn cmp(&self, other: &GetAttributesResponse) -> Ordering
fn cmp(&self, other: &GetAttributesResponse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for GetAttributesResponse
impl PartialEq for GetAttributesResponse
source§fn eq(&self, other: &GetAttributesResponse) -> bool
fn eq(&self, other: &GetAttributesResponse) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetAttributesResponse
impl PartialOrd for GetAttributesResponse
source§fn partial_cmp(&self, other: &GetAttributesResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &GetAttributesResponse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl Response for GetAttributesResponse
impl Response for GetAttributesResponse
source§const STATUS_CODE: u16 = 200u16
const STATUS_CODE: u16 = 200u16
source§fn decode_message(message: Message<Self::Body>) -> Result<Self, Self::Error>
fn decode_message(message: Message<Self::Body>) -> Result<Self, Self::Error>
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>
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 GetAttributesResponse
impl StructuralPartialEq for GetAttributesResponse
Auto Trait Implementations§
impl RefUnwindSafe for GetAttributesResponse
impl Send for GetAttributesResponse
impl Sync for GetAttributesResponse
impl Unpin for GetAttributesResponse
impl UnwindSafe for GetAttributesResponse
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
§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
§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
key
and return true
if they are equal.