pub struct AcceptValue {
pub content_type: ContentType,
pub quality: f32,
pub params: HashMap<String, String>,
}Expand description
Accept header value with quality factor
Fields§
§content_type: ContentType§quality: f32§params: HashMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for AcceptValue
impl Clone for AcceptValue
Source§fn clone(&self) -> AcceptValue
fn clone(&self) -> AcceptValue
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 moreAuto Trait Implementations§
impl Freeze for AcceptValue
impl RefUnwindSafe for AcceptValue
impl Send for AcceptValue
impl Sync for AcceptValue
impl Unpin for AcceptValue
impl UnwindSafe for AcceptValue
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