pub struct RequestPart {
pub uid: String,
pub request_type: Type,
pub start: usize,
pub total: usize,
pub content_size: usize,
pub content: Vec<u8>,
pub sender: SocketAddr,
}Fields§
§uid: String§request_type: Type§start: usize§total: usize§content_size: usize§content: Vec<u8>§sender: SocketAddrTrait Implementations§
Source§impl Clone for RequestPart
impl Clone for RequestPart
Source§fn clone(&self) -> RequestPart
fn clone(&self) -> RequestPart
Returns a duplicate 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 RequestPart
impl Debug for RequestPart
Source§impl DeserializerData for RequestPart
impl DeserializerData for RequestPart
Source§impl Ord for RequestPart
impl Ord for RequestPart
Source§fn cmp(&self, other: &RequestPart) -> Ordering
fn cmp(&self, other: &RequestPart) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestPart
impl PartialEq for RequestPart
Source§impl PartialOrd for RequestPart
impl PartialOrd for RequestPart
Source§impl SerializerData for RequestPart
impl SerializerData for RequestPart
impl Eq for RequestPart
impl StructuralPartialEq for RequestPart
Auto Trait Implementations§
impl Freeze for RequestPart
impl RefUnwindSafe for RequestPart
impl Send for RequestPart
impl Sync for RequestPart
impl Unpin for RequestPart
impl UnwindSafe for RequestPart
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