pub struct ProtocolReply {
pub protocol: String,
pub status_code: Option<u16>,
pub status_text: Option<String>,
pub raw_bytes: Option<Vec<u8>>,
}Fields§
§protocol: String§status_code: Option<u16>§status_text: Option<String>§raw_bytes: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for ProtocolReply
impl Clone for ProtocolReply
Source§fn clone(&self) -> ProtocolReply
fn clone(&self) -> ProtocolReply
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 ProtocolReply
impl Debug for ProtocolReply
Source§impl Default for ProtocolReply
impl Default for ProtocolReply
Source§fn default() -> ProtocolReply
fn default() -> ProtocolReply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtocolReply
impl<'de> Deserialize<'de> for ProtocolReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProtocolReply
impl RefUnwindSafe for ProtocolReply
impl Send for ProtocolReply
impl Sync for ProtocolReply
impl Unpin for ProtocolReply
impl UnsafeUnpin for ProtocolReply
impl UnwindSafe for ProtocolReply
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