[][src]Struct validators::line::Line

pub struct Line { /* fields omitted */ }

Implementations

impl Line[src]

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

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

pub unsafe fn from_string_unchecked(line: String) -> Line[src]

impl Line[src]

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

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

Trait Implementations

impl Clone for Line[src]

impl Debug for Line[src]

impl Deref for Line[src]

type Target = str

The resulting type after dereferencing.

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

impl Display for Line[src]

impl Eq for Line[src]

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

type Error = LineError

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 Line[src]

type Error = LineError

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

impl FromStr for Line[src]

type Err = LineError

The associated error which can be returned from parsing.

impl Hash for Line[src]

impl PartialEq<Line> for Line[src]

impl Serialize for Line[src]

impl StructuralEq for Line[src]

impl StructuralPartialEq for Line[src]

impl Validated for Line[src]

impl ValidatedWrapper for Line[src]

type Error = LineError

Auto Trait Implementations

impl RefUnwindSafe for Line

impl Send for Line

impl Sync for Line

impl Unpin for Line

impl UnwindSafe for Line

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>,