pub struct SafeStaticHeaderValue(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for SafeStaticHeaderValue
impl Clone for SafeStaticHeaderValue
Source§fn clone(&self) -> SafeStaticHeaderValue
fn clone(&self) -> SafeStaticHeaderValue
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 SafeStaticHeaderValue
impl Debug for SafeStaticHeaderValue
Source§impl<'de> Deserialize<'de> for SafeStaticHeaderValue
impl<'de> Deserialize<'de> for SafeStaticHeaderValue
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SafeStaticHeaderValue
Source§impl Hash for SafeStaticHeaderValue
impl Hash for SafeStaticHeaderValue
Source§impl JsonSchema for SafeStaticHeaderValue
impl JsonSchema for SafeStaticHeaderValue
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for SafeStaticHeaderValue
impl Ord for SafeStaticHeaderValue
Source§fn cmp(&self, other: &SafeStaticHeaderValue) -> Ordering
fn cmp(&self, other: &SafeStaticHeaderValue) -> Ordering
1.21.0 (const: unstable) · 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 SafeStaticHeaderValue
impl PartialEq for SafeStaticHeaderValue
Source§fn eq(&self, other: &SafeStaticHeaderValue) -> bool
fn eq(&self, other: &SafeStaticHeaderValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SafeStaticHeaderValue
impl PartialOrd for SafeStaticHeaderValue
Source§impl Serialize for SafeStaticHeaderValue
impl Serialize for SafeStaticHeaderValue
impl StructuralPartialEq for SafeStaticHeaderValue
Auto Trait Implementations§
impl Freeze for SafeStaticHeaderValue
impl RefUnwindSafe for SafeStaticHeaderValue
impl Send for SafeStaticHeaderValue
impl Sync for SafeStaticHeaderValue
impl Unpin for SafeStaticHeaderValue
impl UnsafeUnpin for SafeStaticHeaderValue
impl UnwindSafe for SafeStaticHeaderValue
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