Struct fe2o3_amqp_management::operations::node::RegisterResponse
source · pub struct RegisterResponse {}
Expand description
No information is carried in the message body therefore any message body is valid and MUST be ignored.
If the request was successful then the statusCode MUST be 200 (OK). Upon a successful registration, the address of the registered Management Node will be present in the list of known Management Nodes returned by subsequent GET-MGMT-NODES operations.
Trait Implementations§
source§impl Clone for RegisterResponse
impl Clone for RegisterResponse
source§fn clone(&self) -> RegisterResponse
fn clone(&self) -> RegisterResponse
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 RegisterResponse
impl Debug for RegisterResponse
source§impl Hash for RegisterResponse
impl Hash for RegisterResponse
source§impl Ord for RegisterResponse
impl Ord for RegisterResponse
source§fn cmp(&self, other: &RegisterResponse) -> Ordering
fn cmp(&self, other: &RegisterResponse) -> 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 RegisterResponse
impl PartialEq for RegisterResponse
source§fn eq(&self, other: &RegisterResponse) -> bool
fn eq(&self, other: &RegisterResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RegisterResponse
impl PartialOrd for RegisterResponse
source§fn partial_cmp(&self, other: &RegisterResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &RegisterResponse) -> 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 RegisterResponse
impl Response for RegisterResponse
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 RegisterResponse
impl StructuralPartialEq for RegisterResponse
Auto Trait Implementations§
impl RefUnwindSafe for RegisterResponse
impl Send for RegisterResponse
impl Sync for RegisterResponse
impl Unpin for RegisterResponse
impl UnwindSafe for RegisterResponse
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.