pub struct GetMgmtNodesResponse {
pub body: Vec<String>,
}
Expand description
If the request was successful then the statusCode MUST be 200 (OK) and the body of the message MUST consist of an amqp-value section containing a list of addresses of other Management Nodes known by this Management Node (each element of the list thus being a string). If no other Management Nodes are known then the amqp-value section MUST contain a list of zero elements.
Fields§
§body: Vec<String>
The body of the response.
Trait Implementations§
source§impl Clone for GetMgmtNodesResponse
impl Clone for GetMgmtNodesResponse
source§fn clone(&self) -> GetMgmtNodesResponse
fn clone(&self) -> GetMgmtNodesResponse
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 GetMgmtNodesResponse
impl Debug for GetMgmtNodesResponse
source§impl Hash for GetMgmtNodesResponse
impl Hash for GetMgmtNodesResponse
source§impl Ord for GetMgmtNodesResponse
impl Ord for GetMgmtNodesResponse
source§fn cmp(&self, other: &GetMgmtNodesResponse) -> Ordering
fn cmp(&self, other: &GetMgmtNodesResponse) -> 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 GetMgmtNodesResponse
impl PartialEq for GetMgmtNodesResponse
source§fn eq(&self, other: &GetMgmtNodesResponse) -> bool
fn eq(&self, other: &GetMgmtNodesResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetMgmtNodesResponse
impl PartialOrd for GetMgmtNodesResponse
source§fn partial_cmp(&self, other: &GetMgmtNodesResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &GetMgmtNodesResponse) -> 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 GetMgmtNodesResponse
impl Response for GetMgmtNodesResponse
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 GetMgmtNodesResponse
impl StructuralPartialEq for GetMgmtNodesResponse
Auto Trait Implementations§
impl RefUnwindSafe for GetMgmtNodesResponse
impl Send for GetMgmtNodesResponse
impl Sync for GetMgmtNodesResponse
impl Unpin for GetMgmtNodesResponse
impl UnwindSafe for GetMgmtNodesResponse
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.