pub struct ResponseHeaders {
pub authentication_info: Option<String>,
pub cache_control: Option<String>,
pub content_length: Option<u64>,
pub content_type: Option<String>,
pub date: Option<String>,
pub expires: Option<String>,
pub location: Option<String>,
pub last_modified: Option<String>,
}Expand description
Spec §8.3.5 Tab 8 — Response-Header-Set.
Fields§
§authentication_info: Option<String>Authentication-Info (auf Response-zu-Login Required).
cache_control: Option<String>Cache-Control (Required).
content_length: Option<u64>Content-Length (Required).
content_type: Option<String>Content-Type (Required) — application/zerodds-web+xml.
date: Option<String>Date (Optional).
expires: Option<String>Expires (Optional).
location: Option<String>Location (Required fuer 201-Response auf POST).
last_modified: Option<String>Last-Modified (Required fuer 200-Response auf GET/HEAD).
Trait Implementations§
Source§impl Clone for ResponseHeaders
impl Clone for ResponseHeaders
Source§fn clone(&self) -> ResponseHeaders
fn clone(&self) -> ResponseHeaders
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 ResponseHeaders
impl Debug for ResponseHeaders
Source§impl Default for ResponseHeaders
impl Default for ResponseHeaders
Source§fn default() -> ResponseHeaders
fn default() -> ResponseHeaders
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResponseHeaders
impl PartialEq for ResponseHeaders
Source§fn eq(&self, other: &ResponseHeaders) -> bool
fn eq(&self, other: &ResponseHeaders) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResponseHeaders
impl StructuralPartialEq for ResponseHeaders
Auto Trait Implementations§
impl Freeze for ResponseHeaders
impl RefUnwindSafe for ResponseHeaders
impl Send for ResponseHeaders
impl Sync for ResponseHeaders
impl Unpin for ResponseHeaders
impl UnsafeUnpin for ResponseHeaders
impl UnwindSafe for ResponseHeaders
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