pub struct ContentRange(pub ContentRangeSpec);
Expand description
Content-Range
header, defined in
RFC7233
Tuple Fields§
§0: ContentRangeSpec
Trait Implementations§
source§impl Clone for ContentRange
impl Clone for ContentRange
source§fn clone(&self) -> ContentRange
fn clone(&self) -> ContentRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContentRange
impl Debug for ContentRange
source§impl Deref for ContentRange
impl Deref for ContentRange
§type Target = ContentRangeSpec
type Target = ContentRangeSpec
The resulting type after dereferencing.
source§fn deref(&self) -> &ContentRangeSpec
fn deref(&self) -> &ContentRangeSpec
Dereferences the value.
source§impl DerefMut for ContentRange
impl DerefMut for ContentRange
source§fn deref_mut(&mut self) -> &mut ContentRangeSpec
fn deref_mut(&mut self) -> &mut ContentRangeSpec
Mutably dereferences the value.
source§impl Display for ContentRange
impl Display for ContentRange
source§impl PartialEq<ContentRange> for ContentRange
impl PartialEq<ContentRange> for ContentRange
source§fn eq(&self, other: &ContentRange) -> bool
fn eq(&self, other: &ContentRange) -> bool
impl StructuralPartialEq for ContentRange
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§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more