pub struct PreferHeader {
pub representation: ContainerRepresentation,
pub include_minimal: bool,
pub include_contained_iris: bool,
pub omit_membership: bool,
}Expand description
Parsed Prefer header value. Non-return=representation preferences
are ignored (the LDP spec allows this).
Fields§
§representation: ContainerRepresentation§include_minimal: bool§include_contained_iris: bool§omit_membership: boolImplementations§
Trait Implementations§
Source§impl Clone for PreferHeader
impl Clone for PreferHeader
Source§fn clone(&self) -> PreferHeader
fn clone(&self) -> PreferHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreferHeader
impl Debug for PreferHeader
Source§impl Default for PreferHeader
impl Default for PreferHeader
Source§fn default() -> PreferHeader
fn default() -> PreferHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreferHeader
impl PartialEq for PreferHeader
Source§fn eq(&self, other: &PreferHeader) -> bool
fn eq(&self, other: &PreferHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PreferHeader
impl Eq for PreferHeader
impl StructuralPartialEq for PreferHeader
Auto Trait Implementations§
impl Freeze for PreferHeader
impl RefUnwindSafe for PreferHeader
impl Send for PreferHeader
impl Sync for PreferHeader
impl Unpin for PreferHeader
impl UnsafeUnpin for PreferHeader
impl UnwindSafe for PreferHeader
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