pub struct HttpQueueSendRequest {
pub body: Cbor,
pub name: Option<Str>,
pub wait: Option<bool>,
pub timeout: Option<u64>,
}Expand description
BARE struct HttpQueueSendRequest.
Fields§
§body: Cbor§name: Option<Str>§wait: Option<bool>§timeout: Option<u64>Trait Implementations§
Source§impl Clone for HttpQueueSendRequest
impl Clone for HttpQueueSendRequest
Source§impl Debug for HttpQueueSendRequest
impl Debug for HttpQueueSendRequest
Source§impl Encode for HttpQueueSendRequest
impl Encode for HttpQueueSendRequest
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 HttpQueueSendRequest
Source§impl From<HttpQueueSendRequest> for HttpQueueSendRequest
impl From<HttpQueueSendRequest> for HttpQueueSendRequest
Source§fn from(value: HttpQueueSendRequest) -> Self
fn from(value: HttpQueueSendRequest) -> Self
Converts to this type from the input type.
Source§impl From<HttpQueueSendRequest> for HttpQueueSendRequest
impl From<HttpQueueSendRequest> for HttpQueueSendRequest
Source§fn from(value: HttpQueueSendRequest) -> Self
fn from(value: HttpQueueSendRequest) -> Self
Converts to this type from the input type.
Source§impl Hash for HttpQueueSendRequest
impl Hash for HttpQueueSendRequest
Source§impl Message for HttpQueueSendRequest
impl Message for HttpQueueSendRequest
Source§type Wire = HttpQueueSendRequestWire
type Wire = HttpQueueSendRequestWire
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 HttpQueueSendRequest
impl PartialEq for HttpQueueSendRequest
impl StructuralPartialEq for HttpQueueSendRequest
Auto Trait Implementations§
impl !Freeze for HttpQueueSendRequest
impl RefUnwindSafe for HttpQueueSendRequest
impl Send for HttpQueueSendRequest
impl Sync for HttpQueueSendRequest
impl Unpin for HttpQueueSendRequest
impl UnsafeUnpin for HttpQueueSendRequest
impl UnwindSafe for HttpQueueSendRequest
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