Struct typed_headers::Token68 [−][src]
pub struct Token68(_);
A base68 value as defined in RFC7235.
Methods
impl Token68
[src]
impl Token68
pub fn new(s: &str) -> Result<Token68, InvalidToken68>
[src]
pub fn new(s: &str) -> Result<Token68, InvalidToken68>
Constructs a new base68 value.
pub fn as_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
Returns the string the value as a string.
Trait Implementations
impl Debug for Token68
[src]
impl Debug for Token68
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Token68
[src]
impl Clone for Token68
fn clone(&self) -> Token68
[src]
fn clone(&self) -> Token68
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Token68
[src]
impl PartialEq for Token68
fn eq(&self, other: &Token68) -> bool
[src]
fn eq(&self, other: &Token68) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Token68) -> bool
[src]
fn ne(&self, other: &Token68) -> bool
This method tests for !=
.
impl Eq for Token68
[src]
impl Eq for Token68
impl Display for Token68
[src]
impl Display for Token68
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for Token68
[src]
impl FromStr for Token68