pub struct RawFsApiHeader(pub bool);
Expand description
Header to specify when doing a request for the Raw Filesystem API, designated by “X-Raw-Filesystem-API”.
If RFSAPI is supported, the server should return the header set to true.
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for RawFsApiHeader
impl Clone for RawFsApiHeader
Source§fn clone(&self) -> RawFsApiHeader
fn clone(&self) -> RawFsApiHeader
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 RawFsApiHeader
impl Debug for RawFsApiHeader
Source§impl Display for RawFsApiHeader
impl Display for RawFsApiHeader
Source§impl Hash for RawFsApiHeader
impl Hash for RawFsApiHeader
Source§impl Header for RawFsApiHeader
impl Header for RawFsApiHeader
Source§fn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
Source§fn parse_header(raw: &RawHeader) -> Result<RawFsApiHeader, HyperError>
fn parse_header(raw: &RawHeader) -> Result<RawFsApiHeader, HyperError>
Parse a header from a raw stream of bytes. Read more
Source§fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> Result
fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> Result
Format a header to outgoing stream. Read more
Source§impl Ord for RawFsApiHeader
impl Ord for RawFsApiHeader
Source§fn cmp(&self, other: &RawFsApiHeader) -> Ordering
fn cmp(&self, other: &RawFsApiHeader) -> 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 RawFsApiHeader
impl PartialEq for RawFsApiHeader
Source§impl PartialOrd for RawFsApiHeader
impl PartialOrd for RawFsApiHeader
impl Copy for RawFsApiHeader
impl Eq for RawFsApiHeader
impl StructuralPartialEq for RawFsApiHeader
Auto Trait Implementations§
impl Freeze for RawFsApiHeader
impl RefUnwindSafe for RawFsApiHeader
impl Send for RawFsApiHeader
impl Sync for RawFsApiHeader
impl Unpin for RawFsApiHeader
impl UnwindSafe for RawFsApiHeader
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