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 AcceptRanges
Trait Implementations
impl Clone for AcceptRanges
[src]
impl Clone for AcceptRanges
fn clone(&self) -> AcceptRanges
[src]
fn clone(&self) -> AcceptRanges
Returns 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 AcceptRanges
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AcceptRanges
[src]
impl PartialEq for AcceptRanges
fn eq(&self, other: &AcceptRanges) -> bool
[src]
fn eq(&self, other: &AcceptRanges) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AcceptRanges
impl Send for AcceptRanges
impl Sync for AcceptRanges
impl Sync for AcceptRanges