Struct actix_web::HttpRange [] [src]

pub struct HttpRange {
    pub start: u64,
    pub length: u64,
}

HTTP Range header representation.

Fields

Methods

impl HttpRange
[src]

[src]

Parses Range HTTP header string as per RFC 2616.

header is HTTP Range header (e.g. bytes=bytes=0-9). size is full size of response (file).

Trait Implementations

impl Copy for HttpRange
[src]

impl Clone for HttpRange
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HttpRange
[src]

[src]

Formats the value using the given formatter.