pub struct GetAnnotationsResponse {
pub body: OrderedMap<String, Vec<String>>,
}
Expand description
Response to a GetAnnotations request.
Fields§
§body: OrderedMap<String, Vec<String>>
The response body.
Trait Implementations§
source§impl Clone for GetAnnotationsResponse
impl Clone for GetAnnotationsResponse
source§fn clone(&self) -> GetAnnotationsResponse
fn clone(&self) -> GetAnnotationsResponse
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 GetAnnotationsResponse
impl Debug for GetAnnotationsResponse
source§impl Hash for GetAnnotationsResponse
impl Hash for GetAnnotationsResponse
source§impl Ord for GetAnnotationsResponse
impl Ord for GetAnnotationsResponse
source§fn cmp(&self, other: &GetAnnotationsResponse) -> Ordering
fn cmp(&self, other: &GetAnnotationsResponse) -> 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 GetAnnotationsResponse
impl PartialEq for GetAnnotationsResponse
source§fn eq(&self, other: &GetAnnotationsResponse) -> bool
fn eq(&self, other: &GetAnnotationsResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetAnnotationsResponse
impl PartialOrd for GetAnnotationsResponse
source§fn partial_cmp(&self, other: &GetAnnotationsResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &GetAnnotationsResponse) -> 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 GetAnnotationsResponse
impl Response for GetAnnotationsResponse
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 GetAnnotationsResponse
impl StructuralPartialEq for GetAnnotationsResponse
Auto Trait Implementations§
impl RefUnwindSafe for GetAnnotationsResponse
impl Send for GetAnnotationsResponse
impl Sync for GetAnnotationsResponse
impl Unpin for GetAnnotationsResponse
impl UnwindSafe for GetAnnotationsResponse
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.