pub struct CookieName(/* private fields */);Expand description
A cookie name (e.g. "plexus_session"). RFC 6265 token-set validation.
Per AUTHZ-S01-output §1. RFC 6265 defines cookie-name = token and token
from RFC 7230 §3.2.6: any VCHAR except CTLs, separators, and the
delimiters listed in RFC 7230.
Implementations§
Trait Implementations§
Source§impl Clone for CookieName
impl Clone for CookieName
Source§fn clone(&self) -> CookieName
fn clone(&self) -> CookieName
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 CookieName
impl Debug for CookieName
Source§impl<'de> Deserialize<'de> for CookieName
impl<'de> Deserialize<'de> for CookieName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CookieName
impl Display for CookieName
Source§impl Hash for CookieName
impl Hash for CookieName
Source§impl JsonSchema for CookieName
impl JsonSchema for CookieName
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
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§impl PartialEq for CookieName
impl PartialEq for CookieName
Source§fn eq(&self, other: &CookieName) -> bool
fn eq(&self, other: &CookieName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CookieName
impl Serialize for CookieName
impl Eq for CookieName
impl StructuralPartialEq for CookieName
Auto Trait Implementations§
impl Freeze for CookieName
impl RefUnwindSafe for CookieName
impl Send for CookieName
impl Sync for CookieName
impl Unpin for CookieName
impl UnsafeUnpin for CookieName
impl UnwindSafe for CookieName
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