pub enum ReadRequest<'a> {
Name {
value: Cow<'a, str>,
type: Cow<'a, str>,
locales: Option<Cow<'a, str>>,
},
Identity {
value: Cow<'a, str>,
type: Cow<'a, str>,
locales: Option<Cow<'a, str>>,
},
}
Expand description
Retrieve the attributes of a Manageable Entity.
Exactly one of name or identity MUST be provided
Body: No information is carried in the message body therefore any message body is valid and MUST be ignored
Variants§
Name
Fields
The name of the Manageable Entity to be managed. This is case-sensitive.
Identity
Fields
The identity of the Manageable Entity to be managed. This is case-sensitive.
Implementations§
Trait Implementations§
source§impl<'a> Clone for ReadRequest<'a>
impl<'a> Clone for ReadRequest<'a>
source§fn clone(&self) -> ReadRequest<'a>
fn clone(&self) -> ReadRequest<'a>
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<'a> Debug for ReadRequest<'a>
impl<'a> Debug for ReadRequest<'a>
source§impl<'a> Hash for ReadRequest<'a>
impl<'a> Hash for ReadRequest<'a>
source§impl<'a> Ord for ReadRequest<'a>
impl<'a> Ord for ReadRequest<'a>
source§fn cmp(&self, other: &ReadRequest<'a>) -> Ordering
fn cmp(&self, other: &ReadRequest<'a>) -> 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<'a> PartialEq for ReadRequest<'a>
impl<'a> PartialEq for ReadRequest<'a>
source§fn eq(&self, other: &ReadRequest<'a>) -> bool
fn eq(&self, other: &ReadRequest<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for ReadRequest<'a>
impl<'a> PartialOrd for ReadRequest<'a>
source§fn partial_cmp(&self, other: &ReadRequest<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &ReadRequest<'a>) -> 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<'a> Request for ReadRequest<'a>
impl<'a> Request for ReadRequest<'a>
§type Response = ReadResponse
type Response = ReadResponse
The response type for this request.
source§fn manageable_entity_type(&mut self) -> Option<String>
fn manageable_entity_type(&mut self) -> Option<String>
Set the manageable entity type. Read more
source§fn encode_application_properties(&mut self) -> Option<ApplicationProperties>
fn encode_application_properties(&mut self) -> Option<ApplicationProperties>
Encode the ApplicationProperties section of the message.
source§fn encode_body(self) -> Self::Body
fn encode_body(self) -> Self::Body
Encode the body of the message. Read more
source§fn encode_header(&mut self) -> Option<Header>
fn encode_header(&mut self) -> Option<Header>
Encode the Header section of the message.
source§fn encode_delivery_annotations(&mut self) -> Option<DeliveryAnnotations>
fn encode_delivery_annotations(&mut self) -> Option<DeliveryAnnotations>
Encode the DeliveryAnnotations section of the message.
source§fn encode_message_annotations(&mut self) -> Option<MessageAnnotations>
fn encode_message_annotations(&mut self) -> Option<MessageAnnotations>
Encode the MessageAnnotations section of the message.
source§fn encode_properties(&mut self) -> Option<Properties>
fn encode_properties(&mut self) -> Option<Properties>
Encode the Properties section of the message.
Encode the Footer section of the message.
source§fn into_message(self) -> Message<Self::Body>
fn into_message(self) -> Message<Self::Body>
Encode this request into a message.
impl<'a> Eq for ReadRequest<'a>
impl<'a> StructuralPartialEq for ReadRequest<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ReadRequest<'a>
impl<'a> Send for ReadRequest<'a>
impl<'a> Sync for ReadRequest<'a>
impl<'a> Unpin for ReadRequest<'a>
impl<'a> UnwindSafe for ReadRequest<'a>
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.