pub struct TcpResponseText {
pub data: String,
}
Fields§
§data: String
Implementations§
Trait Implementations§
Source§impl Clone for TcpResponseText
impl Clone for TcpResponseText
Source§fn clone(&self) -> TcpResponseText
fn clone(&self) -> TcpResponseText
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 TcpResponseText
impl Debug for TcpResponseText
Source§impl Default for TcpResponseText
impl Default for TcpResponseText
Source§impl ResponseTrait for TcpResponseText
impl ResponseTrait for TcpResponseText
type OutputText = TcpResponseText
type OutputBinary = TcpResponseBinary
fn from(response: &[u8]) -> Self::OutputTextwhere
Self: Sized,
fn text(&self) -> Self::OutputText
fn binary(&self) -> TcpResponseBinary
fn decode(&self) -> TcpResponseBinary
Auto Trait Implementations§
impl Freeze for TcpResponseText
impl RefUnwindSafe for TcpResponseText
impl Send for TcpResponseText
impl Sync for TcpResponseText
impl Unpin for TcpResponseText
impl UnwindSafe for TcpResponseText
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