[][src]Struct validators::base64_url::Base64Url

pub struct Base64Url { /* fields omitted */ }

Methods

impl Base64Url[src]

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

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

pub unsafe fn from_string_unchecked(base64_url: String) -> Base64Url[src]

impl Base64Url[src]

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

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

Trait Implementations

impl Validated for Base64Url[src]

impl ValidatedWrapper for Base64Url[src]

type Error = Base64UrlError

impl PartialEq<Base64Url> for Base64Url[src]

impl Clone for Base64Url[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Base64Url[src]

impl Display for Base64Url[src]

impl Deref for Base64Url[src]

type Target = str

The resulting type after dereferencing.

impl Hash for Base64Url[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Base64Url[src]

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

type Error = Base64UrlError

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

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

type Error = Base64UrlError

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

fn default() -> Option<Self>[src]

Returns a default value to be used when the form field does not exist. If this returns None, then the field is required. Otherwise, this should return Some(default_value). The default implementation simply returns None. Read more

impl Serialize for Base64Url[src]

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

Auto Trait Implementations

impl Send for Base64Url

impl Sync for Base64Url

Blanket Implementations

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

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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

impl<T> IntoCollection for T

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

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