Struct rust_web_server::range::ContentRange
source · pub struct ContentRange {
pub unit: String,
pub range: Range,
pub size: String,
pub body: Vec<u8>,
pub content_type: String,
}Fields§
§unit: String§range: Range§size: String§body: Vec<u8>§content_type: StringTrait Implementations§
source§impl Clone for ContentRange
impl Clone for ContentRange
source§fn clone(&self) -> ContentRange
fn clone(&self) -> ContentRange
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 ContentRange
impl Debug for ContentRange
source§impl PartialEq<ContentRange> for ContentRange
impl PartialEq<ContentRange> for ContentRange
source§fn eq(&self, other: &ContentRange) -> bool
fn eq(&self, other: &ContentRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.