Struct rocket_http::hyper::header::ContentRange [−][src]
pub struct ContentRange(pub ContentRangeSpec);
Expand description
Content-Range
header, defined in
RFC7233
Trait Implementations
impl Clone for ContentRange
[src]
impl Clone for ContentRange
[src]pub fn clone(&self) -> ContentRange
[src]
pub fn clone(&self) -> ContentRange
[src]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 ContentRange
[src]
impl Debug for ContentRange
[src]impl Deref for ContentRange
[src]
impl Deref for ContentRange
[src]type Target = ContentRangeSpec
type Target = ContentRangeSpec
The resulting type after dereferencing.
pub fn deref(&self) -> &ContentRangeSpec
[src]
pub fn deref(&self) -> &ContentRangeSpec
[src]Dereferences the value.
impl DerefMut for ContentRange
[src]
impl DerefMut for ContentRange
[src]pub fn deref_mut(&mut self) -> &mut ContentRangeSpec
[src]
pub fn deref_mut(&mut self) -> &mut ContentRangeSpec
[src]Mutably dereferences the value.
impl Display for ContentRange
[src]
impl Display for ContentRange
[src]impl From<ContentRange> for Header<'static>
[src]
impl From<ContentRange> for Header<'static>
[src]fn from(header: ContentRange) -> Header<'static>
[src]
fn from(header: ContentRange) -> Header<'static>
[src]Performs the conversion.
impl Header for ContentRange
[src]
impl Header for ContentRange
[src]pub fn header_name() -> &'static str
[src]
pub fn header_name() -> &'static str
[src]Returns the name of the header field this belongs to. Read more
impl HeaderFormat for ContentRange
[src]
impl HeaderFormat for ContentRange
[src]impl PartialEq<ContentRange> for ContentRange
[src]
impl PartialEq<ContentRange> for ContentRange
[src]pub fn eq(&self, other: &ContentRange) -> bool
[src]
pub fn eq(&self, other: &ContentRange) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ContentRange) -> bool
[src]
pub fn ne(&self, other: &ContentRange) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for ContentRange
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContentRange
impl Send for ContentRange
impl Sync for ContentRange
impl Unpin for ContentRange
impl UnwindSafe for ContentRange
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
[src]
impl<T> IntoCollection<T> for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> HeaderClone for T where
T: Sealed,
[src]
T: Sealed,