Struct headers_ext::AcceptRanges [−][src]
pub struct AcceptRanges(_);
Accept-Ranges header, defined in
RFC7233
The Accept-Ranges header field allows a server to indicate that it
supports range requests for the target resource.
ABNF
Accept-Ranges = acceptable-ranges
acceptable-ranges = 1#range-unit / \"none\"
# Example values
* `bytes`
* `none`
* `unknown-unit`
Examples
Methods
impl AcceptRanges[src]
impl AcceptRangesTrait Implementations
impl Clone for AcceptRanges[src]
impl Clone for AcceptRangesfn clone(&self) -> AcceptRanges[src]
fn clone(&self) -> AcceptRangesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AcceptRanges[src]
impl Debug for AcceptRangesfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AcceptRanges[src]
impl PartialEq for AcceptRangesfn eq(&self, other: &AcceptRanges) -> bool[src]
fn eq(&self, other: &AcceptRanges) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AcceptRanges) -> bool[src]
fn ne(&self, other: &AcceptRanges) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for AcceptRanges
impl Send for AcceptRangesimpl Sync for AcceptRanges
impl Sync for AcceptRanges