Struct validators::base64::Base64 [−][src]
pub struct Base64 { /* fields omitted */ }
Methods
impl Base64
[src]
impl Base64
pub fn get_base64(&self) -> &str
[src]
pub fn get_base64(&self) -> &str
impl Base64
[src]
impl Base64
pub fn from_string(base64: String) -> Result<Self, Base64Error>
[src]
pub fn from_string(base64: String) -> Result<Self, Base64Error>
pub fn from_str(base64: &str) -> Result<Self, Base64Error>
[src]
pub fn from_str(base64: &str) -> Result<Self, Base64Error>
Trait Implementations
impl Clone for Base64
[src]
impl Clone for Base64
fn clone(&self) -> Base64
[src]
fn clone(&self) -> Base64
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 Validated for Base64
[src]
impl Validated for Base64
impl Debug for Base64
[src]
impl Debug for Base64
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 Display for Base64
[src]
impl Display for Base64
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 PartialEq for Base64
[src]
impl PartialEq for Base64
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
[src]
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl ValidatedWrapper for Base64
[src]
impl ValidatedWrapper for Base64