[][src]Struct validators::base64::Base64

pub struct Base64 { /* fields omitted */ }

Implementations

impl Base64[src]

pub fn get_base64(&self) -> &str[src]

pub fn into_string(self) -> String[src]

pub unsafe fn from_string_unchecked(base64: String) -> Base64[src]

impl Base64[src]

pub fn from_string(base64: String) -> Result<Self, Base64Error>[src]

pub fn from_str(base64: &str) -> Result<Self, Base64Error>[src]

Trait Implementations

impl Clone for Base64[src]

impl Debug for Base64[src]

impl Deref for Base64[src]

type Target = str

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for Base64[src]

impl Display for Base64[src]

impl Eq for Base64[src]

impl<'a> FromFormValue<'a> for Base64[src]

type Error = Base64Error

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

impl<'a> FromParam<'a> for Base64[src]

type Error = Base64Error

The associated error to be returned if parsing/validation fails.

impl FromStr for Base64[src]

type Err = Base64Error

The associated error which can be returned from parsing.

impl Hash for Base64[src]

impl PartialEq<Base64> for Base64[src]

impl Serialize for Base64[src]

impl StructuralEq for Base64[src]

impl StructuralPartialEq for Base64[src]

impl Validated for Base64[src]

impl ValidatedWrapper for Base64[src]

type Error = Base64Error

Auto Trait Implementations

impl RefUnwindSafe for Base64

impl Send for Base64

impl Sync for Base64

impl Unpin for Base64

impl UnwindSafe for Base64

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoCollection<T> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,