pub struct ExtensionRange {
pub extension: (Bytes, Option<Bytes>),
pub range: (u32, u32),
}Fields§
§extension: (Bytes, Option<Bytes>)§range: (u32, u32)Trait Implementations§
Source§impl Clone for ExtensionRange
impl Clone for ExtensionRange
Source§fn clone(&self) -> ExtensionRange
fn clone(&self) -> ExtensionRange
Returns a duplicate 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<'de> Deserialize<'de> for ExtensionRange
impl<'de> Deserialize<'de> for ExtensionRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ExtensionRange
impl Hash for ExtensionRange
Source§impl Ord for ExtensionRange
impl Ord for ExtensionRange
Source§fn cmp(&self, other: &ExtensionRange) -> Ordering
fn cmp(&self, other: &ExtensionRange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtensionRange
impl PartialEq for ExtensionRange
Source§impl PartialOrd for ExtensionRange
impl PartialOrd for ExtensionRange
Source§impl Serialize for ExtensionRange
impl Serialize for ExtensionRange
impl Eq for ExtensionRange
impl StructuralPartialEq for ExtensionRange
Auto Trait Implementations§
impl !Freeze for ExtensionRange
impl RefUnwindSafe for ExtensionRange
impl Send for ExtensionRange
impl Sync for ExtensionRange
impl Unpin for ExtensionRange
impl UnwindSafe for ExtensionRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more