pub struct HttpQueueSendResponse {
pub status: Str,
pub response: Option<Cbor>,
}Expand description
BARE struct HttpQueueSendResponse.
Fields§
§status: Str§response: Option<Cbor>Trait Implementations§
Source§impl Clone for HttpQueueSendResponse
impl Clone for HttpQueueSendResponse
Source§impl Debug for HttpQueueSendResponse
impl Debug for HttpQueueSendResponse
Source§impl Encode for HttpQueueSendResponse
impl Encode for HttpQueueSendResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
The exact encoded length, computed without encoding.
fn encode<S: Sink>(&self, out: &mut S)
fn encode_to_vec(&self) -> Vec<u8> ⓘ
fn encode_to_bytes(&self) -> Bytes
Source§fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
Encodes into the front of
out and returns the number of bytes written. Checks the length
first instead of panicking when out is too short.impl Eq for HttpQueueSendResponse
Source§impl From<HttpQueueSendResponse> for HttpQueueSendResponse
impl From<HttpQueueSendResponse> for HttpQueueSendResponse
Source§fn from(value: HttpQueueSendResponse) -> Self
fn from(value: HttpQueueSendResponse) -> Self
Converts to this type from the input type.
Source§impl From<HttpQueueSendResponse> for HttpQueueSendResponse
impl From<HttpQueueSendResponse> for HttpQueueSendResponse
Source§fn from(value: HttpQueueSendResponse) -> Self
fn from(value: HttpQueueSendResponse) -> Self
Converts to this type from the input type.
Source§impl Hash for HttpQueueSendResponse
impl Hash for HttpQueueSendResponse
Source§impl Message for HttpQueueSendResponse
impl Message for HttpQueueSendResponse
Source§type Wire = HttpQueueSendResponseWire
type Wire = HttpQueueSendResponseWire
The wire marker whose owned form is this type.
Source§fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
Verifies
bytes and returns a zero-copy view over them.Source§impl PartialEq for HttpQueueSendResponse
impl PartialEq for HttpQueueSendResponse
impl StructuralPartialEq for HttpQueueSendResponse
Auto Trait Implementations§
impl !Freeze for HttpQueueSendResponse
impl RefUnwindSafe for HttpQueueSendResponse
impl Send for HttpQueueSendResponse
impl Sync for HttpQueueSendResponse
impl Unpin for HttpQueueSendResponse
impl UnsafeUnpin for HttpQueueSendResponse
impl UnwindSafe for HttpQueueSendResponse
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