pub struct EnvelopeRequest {
pub request_data: Bytes,
pub request_principal: Option<Bytes>,
pub client_host_address: Bytes,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§request_data: Bytes§request_principal: Option<Bytes>§client_host_address: Bytes§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for EnvelopeRequest
impl Clone for EnvelopeRequest
Source§fn clone(&self) -> EnvelopeRequest
fn clone(&self) -> EnvelopeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvelopeRequest
impl Debug for EnvelopeRequest
Source§impl Decode<'_> for EnvelopeRequest
impl Decode<'_> for EnvelopeRequest
Source§impl Default for EnvelopeRequest
impl Default for EnvelopeRequest
Source§fn default() -> EnvelopeRequest
fn default() -> EnvelopeRequest
Returns the “default value” for a type. Read more
Source§impl Encode for EnvelopeRequest
impl Encode for EnvelopeRequest
impl Eq for EnvelopeRequest
Source§impl PartialEq for EnvelopeRequest
impl PartialEq for EnvelopeRequest
Source§fn eq(&self, other: &EnvelopeRequest) -> bool
fn eq(&self, other: &EnvelopeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProtocolRequest for EnvelopeRequest
impl ProtocolRequest for EnvelopeRequest
Source§const MIN_VERSION: i16 = MIN_VERSION
const MIN_VERSION: i16 = MIN_VERSION
Minimum protocol version this Rust type supports.
Source§const MAX_VERSION: i16 = MAX_VERSION
const MAX_VERSION: i16 = MAX_VERSION
Maximum protocol version this Rust type supports.
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible (KIP-482) framing.
i16::MAX for never-flexible messages.Source§type Response = EnvelopeResponse
type Response = EnvelopeResponse
Matching response type from
crabka-protocol.impl StructuralPartialEq for EnvelopeRequest
Auto Trait Implementations§
impl !Freeze for EnvelopeRequest
impl RefUnwindSafe for EnvelopeRequest
impl Send for EnvelopeRequest
impl Sync for EnvelopeRequest
impl Unpin for EnvelopeRequest
impl UnsafeUnpin for EnvelopeRequest
impl UnwindSafe for EnvelopeRequest
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