pub enum DeleteRequest<'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
Delete a Manageable Entity.
§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 DeleteRequest<'a>
impl<'a> Clone for DeleteRequest<'a>
source§fn clone(&self) -> DeleteRequest<'a>
fn clone(&self) -> DeleteRequest<'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 DeleteRequest<'a>
impl<'a> Debug for DeleteRequest<'a>
source§impl<'a> Hash for DeleteRequest<'a>
impl<'a> Hash for DeleteRequest<'a>
source§impl<'a> Ord for DeleteRequest<'a>
impl<'a> Ord for DeleteRequest<'a>
source§fn cmp(&self, other: &DeleteRequest<'a>) -> Ordering
fn cmp(&self, other: &DeleteRequest<'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 DeleteRequest<'a>
impl<'a> PartialEq for DeleteRequest<'a>
source§fn eq(&self, other: &DeleteRequest<'a>) -> bool
fn eq(&self, other: &DeleteRequest<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for DeleteRequest<'a>
impl<'a> PartialOrd for DeleteRequest<'a>
source§fn partial_cmp(&self, other: &DeleteRequest<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &DeleteRequest<'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 DeleteRequest<'a>
impl<'a> Request for DeleteRequest<'a>
§type Response = DeleteResponse
type Response = DeleteResponse
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 DeleteRequest<'a>
impl<'a> StructuralPartialEq for DeleteRequest<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DeleteRequest<'a>
impl<'a> Send for DeleteRequest<'a>
impl<'a> Sync for DeleteRequest<'a>
impl<'a> Unpin for DeleteRequest<'a>
impl<'a> UnwindSafe for DeleteRequest<'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.