Enum krecik::products::expected::PageExpectation[][src]

pub enum PageExpectation {
    ValidCode(u32),
    ValidNoContent,
    ValidContent(String),
    ValidLength(usize),
    ValidNoLength,
    ValidAddress(String),
    ValidNoAddress,
}

Describes all supported page expectations

Variants

ValidCode(u32)

Valid error code

ValidNoContent

Valid no-content check

ValidContent(String)

Valid content regex match

ValidLength(usize)

Valid content length

ValidNoLength

Valid no-content-length check

ValidAddress(String)

Valid final address (after all redirections)

ValidNoAddress

Valid no-address check

Trait Implementations

impl Clone for PageExpectation[src]

impl Debug for PageExpectation[src]

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

impl Display for PageExpectation[src]

impl Eq for PageExpectation[src]

impl Fail for PageExpectation[src]

impl Hash for PageExpectation[src]

impl PartialEq<PageExpectation> for PageExpectation[src]

impl Serialize for PageExpectation[src]

impl StructuralEq for PageExpectation[src]

impl StructuralPartialEq for PageExpectation[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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> Pointable for T

type Init = T

The type for initializers.

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, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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