Struct hyper::header::ContentRange [] [src]

pub struct ContentRange(pub ContentRangeSpec);

Content-Range header, defined in RFC7233

Trait Implementations

impl Deref for ContentRange

type Target = ContentRangeSpec

fn deref(&self) -> &ContentRangeSpec

impl DerefMut for ContentRange

fn deref_mut(&mut self) -> &mut ContentRangeSpec

impl Header for ContentRange

fn header_name() -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Result<Self>

impl HeaderFormat for ContentRange

fn fmt_header(&self, f: &mut Formatter) -> Result

impl Display for ContentRange

fn fmt(&self, f: &mut Formatter) -> Result

impl Serialize for ContentRange

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

impl Deserialize for ContentRange

fn deserialize<D>(deserializer: &mut D) -> Result<ContentRange, D::Error> where D: Deserializer

Derived Implementations

impl PartialEq for ContentRange

fn eq(&self, __arg_0: &ContentRange) -> bool

fn ne(&self, __arg_0: &ContentRange) -> bool

impl Debug for ContentRange

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for ContentRange

fn clone(&self) -> ContentRange

1.0.0fn clone_from(&mut self, source: &Self)