Struct typed_headers::Token68 [−][src]
pub struct Token68(_);
A base68 value as defined in RFC7235.
Methods
impl Token68[src]
impl Token68pub 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) -> &strReturns the string the value as a string.
Trait Implementations
impl Debug for Token68[src]
impl Debug for Token68fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Token68[src]
impl Clone for Token68fn clone(&self) -> Token68[src]
fn clone(&self) -> Token68Returns 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 Token68fn eq(&self, other: &Token68) -> bool[src]
fn eq(&self, other: &Token68) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for Token68[src]
impl Eq for Token68impl Display for Token68[src]
impl Display for Token68fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl FromStr for Token68[src]
impl FromStr for Token68